refactor: use ags hm module to clear up config
This commit is contained in:
parent
a6257e82ee
commit
c431df1215
2 changed files with 9 additions and 4 deletions
|
@ -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";
|
||||||
|
|
|
@ -8,19 +8,26 @@
|
||||||
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
|
||||||
];
|
];
|
||||||
|
|
||||||
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;
|
||||||
|
|
Loading…
Reference in a new issue