diff --git a/modules/programs/broot.nix b/modules/programs/broot.nix index 179b1224d..6a1680e07 100644 --- a/modules/programs/broot.nix +++ b/modules/programs/broot.nix @@ -175,6 +175,14 @@ in { ''; }; + enableNushellIntegration = mkOption { + default = true; + type = types.bool; + description = '' + Whether to enable Nushell integration. + ''; + }; + package = mkOption { type = types.package; default = pkgs.broot; @@ -226,5 +234,8 @@ in { programs.zsh.initExtra = mkIf cfg.enableZshIntegration (shellInit "zsh"); programs.fish.shellInit = mkIf cfg.enableFishIntegration (shellInit "fish"); + + programs.nushell.extraConfig = + mkIf cfg.enableNushellIntegration (shellInit "nushell"); }; }