switch to default.nix for home-manager

This commit is contained in:
2025-01-12 10:03:11 -06:00
parent 1689da5b56
commit e7ac0a8c26
18 changed files with 183 additions and 425 deletions

View File

@@ -1,26 +1,12 @@
{ config, lib, ... }: {
config = lib.mkMerge [
home.file = {
".config/ags" = { source = ./dotfiles/ags; recursive = true; };
".config/hypr" = { source = ./dotfiles/hypr; recursive = true; };
".config/swaylock" = { source = ./dotfiles/swaylock; recursive = true; };
".config/wal/templates" = { source = ./dotfiles/wal/templates; recursive = true; };
".config/wayvnc" = { source = ./dotfiles/wayvnc; recursive = true; };
"Pictures/Wallpaper" = { source = ./dotfiles/Wallpaper; recursive = true; };
};
(lib.mkIf config.homeconfig.ags.enable {
home.file."ags" = { source = ./ags; target = ".config/ags"; recursive = true; };
})
(lib.mkIf config.homeconfig.hyprland.enable {
home.file = {
"Wallpaper" = { source = ./Wallpaper; target = "Pictures/Wallpaper"; recursive = true; };
"hyprland" = { source = ./hypr; target = ".config/hypr"; recursive = true; };
};
})
(lib.mkIf config.homeconfig.swaylock.enable {
home.file."swaylock" = { source = ./swaylock; target = ".config/swaylock"; recursive = true; };
})
(lib.mkIf config.homeconfig.wal.enable {
home.file."wal" = { source = ./wal/templates; target = ".config/wal/templates"; recursive = true; };
})
];
}