snowhawk: make dwm default specialisation

sh-initrd-on-root
Zynh Ludwig 2024-10-06 20:13:43 -07:00
parent 2b5fba7e01
commit 28b5d14f1b
1 changed files with 9 additions and 6 deletions

View File

@ -8,15 +8,18 @@
imports = [ imports = [
inputs.home-manager.nixosModules.default inputs.home-manager.nixosModules.default
../../modules ../../modules
];
specialisation = { # Default specialisation
dwm.configuration = { ({ lib, config, ... }: {
config = lib.mkIf (config.specialisation != { }) {
snowhawk.dwm.enable = true; snowhawk.dwm.enable = true;
home-manager.sharedModules = [{ snowhawk.dunst.enable = lib.mkDefault true; }]; home-manager.sharedModules = [{ snowhawk.dunst.enable = lib.mkDefault true; }];
}; };
})
];
specialisation = {
dwl.configuration = { dwl.configuration = {
snowhawk.dwl.enable = true; snowhawk.dwl.enable = true;