Allow overriding Windows settings
This commit is contained in:
parent
d6daf8f85b
commit
bde4a6bea3
|
@ -1,9 +1,10 @@
|
|||
{ lib, config, ... }:
|
||||
let
|
||||
inherit (lib)
|
||||
mkOption
|
||||
mkDefault
|
||||
mkEnableOption
|
||||
mkIf
|
||||
mkOption
|
||||
types
|
||||
;
|
||||
|
||||
|
@ -39,8 +40,8 @@
|
|||
|
||||
config = {
|
||||
valhalla.windows = {
|
||||
setupUser.name = capitalize config.valhalla.setupUser.name;
|
||||
dualboot.linuxPercentage = mkIf (!config.valhalla.windows.dualboot.enable) 0;
|
||||
setupUser.name = mkDefault (capitalize config.valhalla.setupUser.name);
|
||||
dualboot.linuxPercentage = mkIf (!config.valhalla.windows.dualboot.enable) (mkDefault 0);
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue