snowhawk: make dwm default specialisation
parent
2b5fba7e01
commit
28b5d14f1b
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue