Use mkOption for enabled-by-default module options
This commit is contained in:
parent
116e4eff7d
commit
60fe16d168
|
|
@ -5,7 +5,8 @@
|
||||||
with lib;
|
with lib;
|
||||||
{
|
{
|
||||||
options.modules.pipewire = {
|
options.modules.pipewire = {
|
||||||
enable = mkEnableOption {
|
enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
default = true;
|
default = true;
|
||||||
description = "Enable PipeWire";
|
description = "Enable PipeWire";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,10 @@
|
||||||
with lib;
|
with lib;
|
||||||
{
|
{
|
||||||
options.modules.zsh = {
|
options.modules.zsh = {
|
||||||
enable = mkEnableOption {
|
enable = mkOption {
|
||||||
description = "Install Zsh";
|
type = types.bool;
|
||||||
default = true;
|
default = true;
|
||||||
|
description = "Install Zsh";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue