From 82ec91b4d2c253c6ccb783f960a2788f230d6ad1 Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Tue, 8 Jul 2025 17:03:20 +0000 Subject: start avoiding lib.enum; start using hjem generators --- modules/terminal/system/programs/broot.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'modules/terminal/system/programs/broot.nix') 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 -- cgit v1.3.1