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/config.ini".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/gtklock/config.ini";
"gtklock/style.css".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/gtklock/style.css"; "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"; "ripgrep".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/ripgrep";
"discord/settings.json".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/discord/settings.json"; "discord/settings.json".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/discord/settings.json";

View file

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