diff --git a/homes/x86_64-linux/alejandro/default.nix b/homes/x86_64-linux/alejandro/default.nix index 7aa377a..9bad8c8 100644 --- a/homes/x86_64-linux/alejandro/default.nix +++ b/homes/x86_64-linux/alejandro/default.nix @@ -8,6 +8,7 @@ programs = { firefox.enable = true; + fzf.enable = true; gpg.enable = true; kitty.enable = true; zoxide.enable = true; @@ -23,9 +24,4 @@ windowManagers.sway.enable = true; }; - - # misc utils without custom config - programs = { - fzf.enable = true; - }; } diff --git a/modules/home/programs/fzf/default.nix b/modules/home/programs/fzf/default.nix new file mode 100644 index 0000000..bd955e9 --- /dev/null +++ b/modules/home/programs/fzf/default.nix @@ -0,0 +1,19 @@ +{ + config, + lib, + namespace, + ... +}: let + cfg = config.${namespace}.programs.fzf; +in { + options.${namespace}.programs.fzf = { + enable = lib.mkEnableOption "fzf"; + }; + + config = lib.mkIf cfg.enable { + programs.fzf = { + enable = true; + catppuccin.enable = true; + }; + }; +}