From 38f36e7c3e5c13fdcb112927ce110397b1fda54d Mon Sep 17 00:00:00 2001 From: Robin Stumm Date: Fri, 28 Mar 2025 20:41:20 +0100 Subject: [PATCH] broot: trivial code style changes --- modules/programs/broot.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/modules/programs/broot.nix b/modules/programs/broot.nix index e2fb185fe..2327305f9 100644 --- a/modules/programs/broot.nix +++ b/modules/programs/broot.nix @@ -183,7 +183,7 @@ in { config = mkIf cfg.enable { home.packages = [ cfg.package ]; - xdg.configFile."broot" = { + xdg.configFile.broot = { recursive = true; source = pkgs.symlinkJoin { name = "xdg.configFile.broot"; @@ -205,13 +205,15 @@ in { }; }; - programs.bash.initExtra = mkIf cfg.enableBashIntegration (shellInit "bash"); + programs = { + bash.initExtra = mkIf cfg.enableBashIntegration (shellInit "bash"); - programs.zsh.initContent = mkIf cfg.enableZshIntegration (shellInit "zsh"); + zsh.initContent = mkIf cfg.enableZshIntegration (shellInit "zsh"); - programs.fish.shellInit = mkIf cfg.enableFishIntegration (shellInit "fish"); + fish.shellInit = mkIf cfg.enableFishIntegration (shellInit "fish"); - programs.nushell.extraConfig = - mkIf cfg.enableNushellIntegration (shellInit "nushell"); + nushell.extraConfig = + mkIf cfg.enableNushellIntegration (shellInit "nushell"); + }; }; }