Files
Olympus/home-manager/dotfiles/default.nix

27 lines
899 B
Nix

{ config, lib, ... }: {
config = lib.mkMerge [
(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; };
})
];
}