starship: Use mkEnableOption (#3701)

This commit is contained in:
Lord-Valen 2023-02-24 17:15:57 -05:00 committed by GitHub
parent 4295fdfa6b
commit 664945b3e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,44 +58,24 @@ in {
'';
};
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.
'';
};
enableIonIntegration = mkOption {
enableIonIntegration = mkEnableOption "Ion integration" // {
default = true;
type = types.bool;
description = ''
Whether to enable Ion integration.
'';
};
enableNushellIntegration = mkOption {
enableNushellIntegration = mkEnableOption "Nushell integration" // {
default = true;
type = types.bool;
description = ''
Whether to enable Nushell integration.
'';
};
};