diff --git a/home.nix b/home.nix index f2248d0..2284b87 100644 --- a/home.nix +++ b/home.nix @@ -111,26 +111,6 @@ enable = true; }; - programs.broot = { - enable = true; - enableFishIntegration = true; - settings = { - modal = true; - verbs = [ - { - invocation = "panel_right"; - key = "alt-right"; - internal = ":panel_right"; - } - { - invocation = "panel_left_no_open"; - key = "alt-left"; - internal = ":panel_left_no_open"; - } - ]; - }; - }; - programs.btop = { enable = true; }; diff --git a/programs/broot/default.nix b/programs/broot/default.nix new file mode 100644 index 0000000..0f42875 --- /dev/null +++ b/programs/broot/default.nix @@ -0,0 +1,25 @@ +{ config, pkgs, ... }: +let + myverbs = [ + { + invocation = "panel_right"; + key = "alt-right"; + internal = ":panel_right"; + } + { + invocation = "panel_left_no_open"; + key = "alt-left"; + internal = ":panel_left_no_open"; + } + ]; +in +{ + programs.broot = { + enable = true; + enableFishIntegration = true; + settings = { + modal = true; + verbs = myverbs; + }; + }; +} diff --git a/programs/default.nix b/programs/default.nix index 2f3b1ee..5c225bf 100644 --- a/programs/default.nix +++ b/programs/default.nix @@ -1,4 +1,5 @@ [ + ./broot ./fish ./git ./tmux