From 664945b3e09b4551c4e63e16efebd493cf5eac74 Mon Sep 17 00:00:00 2001 From: Lord-Valen <46138807+Lord-Valen@users.noreply.github.com> Date: Fri, 24 Feb 2023 17:15:57 -0500 Subject: [PATCH] starship: Use mkEnableOption (#3701) --- modules/programs/starship.nix | 30 +++++------------------------- 1 file changed, 5 insertions(+), 25 deletions(-) diff --git a/modules/programs/starship.nix b/modules/programs/starship.nix index 05763c0ba..31136d7ec 100644 --- a/modules/programs/starship.nix +++ b/modules/programs/starship.nix @@ -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. - ''; }; };