mirror of
https://github.com/nix-community/home-manager
synced 2024-12-22 01:39:47 +01:00
starship: Use mkEnableOption (#3701)
This commit is contained in:
parent
4295fdfa6b
commit
664945b3e0
1 changed files with 5 additions and 25 deletions
|
@ -58,44 +58,24 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
enableBashIntegration = mkOption {
|
enableBashIntegration = mkEnableOption "Bash integration" // {
|
||||||
default = true;
|
default = true;
|
||||||
type = types.bool;
|
|
||||||
description = ''
|
|
||||||
Whether to enable Bash integration.
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enableZshIntegration = mkOption {
|
enableZshIntegration = mkEnableOption "Zsh integration" // {
|
||||||
default = true;
|
default = true;
|
||||||
type = types.bool;
|
|
||||||
description = ''
|
|
||||||
Whether to enable Zsh integration.
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enableFishIntegration = mkOption {
|
enableFishIntegration = mkEnableOption "Fish integration" // {
|
||||||
default = true;
|
default = true;
|
||||||
type = types.bool;
|
|
||||||
description = ''
|
|
||||||
Whether to enable Fish integration.
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enableIonIntegration = mkOption {
|
enableIonIntegration = mkEnableOption "Ion integration" // {
|
||||||
default = true;
|
default = true;
|
||||||
type = types.bool;
|
|
||||||
description = ''
|
|
||||||
Whether to enable Ion integration.
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enableNushellIntegration = mkOption {
|
enableNushellIntegration = mkEnableOption "Nushell integration" // {
|
||||||
default = true;
|
default = true;
|
||||||
type = types.bool;
|
|
||||||
description = ''
|
|
||||||
Whether to enable Nushell integration.
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue