use mkEnableOption
This commit is contained in:
parent
a1cd613eb5
commit
8c4d5bd1a1
|
@ -105,37 +105,19 @@ in {
|
|||
default = { };
|
||||
};
|
||||
|
||||
enableBashIntegration = mkOption {
|
||||
enableBashIntegration = mkEnableOption "Bash integration" // {
|
||||
default = true;
|
||||
type = types.bool;
|
||||
description = ''
|
||||
Whether to enable Bash integration.
|
||||
'';
|
||||
};
|
||||
|
||||
enableZshIntegration = mkOption {
|
||||
enableZshIntegration = mkEnableOption "Zsh integration" // {
|
||||
default = true;
|
||||
type = types.bool;
|
||||
description = ''
|
||||
Whether to enable Zsh integration.
|
||||
'';
|
||||
};
|
||||
|
||||
enableFishIntegration = mkOption {
|
||||
enableFishIntegration = mkEnableOption "Fish integration" // {
|
||||
default = true;
|
||||
type = types.bool;
|
||||
description = ''
|
||||
Whether to enable Fish integration.
|
||||
'';
|
||||
};
|
||||
|
||||
quitcd = mkOption {
|
||||
default = false;
|
||||
type = types.bool;
|
||||
description = ''
|
||||
Whether to enable cd on quit.
|
||||
'';
|
||||
};
|
||||
quitcd = mkEnableOption "cd on quit" // { default = true; };
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue