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