diff options
Diffstat (limited to 'modules/terminal/system/programs/broot.nix')
| -rw-r--r-- | modules/terminal/system/programs/broot.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/terminal/system/programs/broot.nix b/modules/terminal/system/programs/broot.nix index 585e07a..ec20605 100644 --- a/modules/terminal/system/programs/broot.nix +++ b/modules/terminal/system/programs/broot.nix @@ -5,9 +5,8 @@ ... }: let cfg = config.collinux.terminal.shells.fish; - toml' = pkgs.formats.toml {}; - conf = toml'.generate "conf.toml" { + conf = { verbs = [ { name = "open-code"; @@ -22,7 +21,10 @@ in lib.mkIf cfg.enable { hjem.users."${config.collinux.user.name}" = { files = { - ".config/broot/conf.toml".source = conf; + ".config/broot/conf.toml" = { + generator = (pkgs.formats.toml {}).generate "conf.toml"; + value = conf; + }; ".config/fish/conf.d/broot.fish".text = lib.mkIf config.collinux.terminal.shells.fish.enable '' ${pkgs.broot}/bin/broot --print-shell-function fish | source |
