snowhawk: make dwm default specialisation

This commit is contained in:
Zynh Ludwig 2024-10-06 20:13:43 -07:00
parent 2b5fba7e01
commit 28b5d14f1b

View file

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