switch to default.nix for home-manager
This commit is contained in:
@@ -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; };
|
||||
})
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user