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 = [
inputs.home-manager.nixosModules.default
../../modules
# Default specialisation
({ lib, config, ... }: {
config = lib.mkIf (config.specialisation != { }) {
snowhawk.dwm.enable = true;
home-manager.sharedModules = [{ snowhawk.dunst.enable = lib.mkDefault true; }];
};
})
];
specialisation = {
dwm.configuration = {
snowhawk.dwm.enable = true;
home-manager.sharedModules = [{ snowhawk.dunst.enable = lib.mkDefault true; }];
};
dwl.configuration = {
snowhawk.dwl.enable = true;