Use mkFlag for other options
This commit is contained in:
parent
d87f127954
commit
b9c6e20ef6
|
@ -24,31 +24,11 @@ in {
|
||||||
# beatific.defaults.${category} = false;
|
# beatific.defaults.${category} = false;
|
||||||
# They default to true because the point is to do these things by default.
|
# They default to true because the point is to do these things by default.
|
||||||
defaults = {
|
defaults = {
|
||||||
time = mkOption {
|
time = mkFlag "Default time zone and NTP";
|
||||||
type = types.bool;
|
i18n = mkFlag "Default locale settings";
|
||||||
description = "Default time zone and NTP";
|
programs = mkFlag "Default installed programs";
|
||||||
default = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
i18n = mkOption {
|
|
||||||
type = types.bool;
|
|
||||||
description = "Default locale settings";
|
|
||||||
default = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
programs = mkOption {
|
|
||||||
type = types.bool;
|
|
||||||
description = "Default installed programs";
|
|
||||||
default = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
ssh = mkFlag "Enable openssh";
|
ssh = mkFlag "Enable openssh";
|
||||||
|
tvb = mkFlag "Default tvb account";
|
||||||
tvb = mkOption {
|
|
||||||
type = types.bool;
|
|
||||||
description = "Default tvb account";
|
|
||||||
default = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue