snowhawk: make dwm default specialisation
This commit is contained in:
parent
2b5fba7e01
commit
28b5d14f1b
1 changed files with 9 additions and 6 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue