refactor: use ags hm module to clear up config

This commit is contained in:
matt1432 2023-09-25 23:08:37 -04:00
parent a6257e82ee
commit c431df1215
2 changed files with 9 additions and 4 deletions

View file

@ -11,8 +11,6 @@ in
"gtklock/config.ini".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/gtklock/config.ini";
"gtklock/style.css".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/gtklock/style.css";
"ags".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/ags";
"ripgrep".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/ripgrep";
"discord/settings.json".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/discord/settings.json";

View file

@ -8,19 +8,26 @@
src = builtins.fetchTarball "https://github.com/hyprwm/Hyprland/archive/master.tar.gz";
}).defaultNix;
ags = (builtins.getFlake "github:Aylur/ags");
in
{
home.packages = [
(builtins.getFlake "github:Aylur/ags").packages.x86_64-linux.default
pkgs.sassc
pkgs.kora-icon-theme
pkgs.coloryou
];
imports = [
hyprland.homeManagerModules.default
hyprland.homeManagerModules.default
ags.homeManagerModules.default
];
programs.ags = {
enable = true;
configDir = config.lib.file.mkOutOfStoreSymlink "${configDir}/ags";
};
wayland.windowManager.hyprland = {
enable = true;
package = (builtins.getFlake "github:hyprwm/Hyprland").packages.x86_64-linux.default;