Move fzf configuration
All checks were successful
/ check (push) Successful in 1m36s

This commit is contained in:
Oliver Davies 2025-07-25 22:15:21 +01:00
parent ccbe21a5c4
commit 96b467b7ed
7 changed files with 11 additions and 27 deletions

View file

@ -7,8 +7,6 @@
cli = { cli = {
bookmarkthis.enable = true; bookmarkthis.enable = true;
direnv.enable = true; direnv.enable = true;
fzf.enable = true;
node.enable = true; node.enable = true;
ranger.enable = true; ranger.enable = true;
starship.enable = true; starship.enable = true;

View file

@ -8,7 +8,6 @@
]; ];
features.cli = { features.cli = {
fzf.enable = true;
starship.enable = true; starship.enable = true;
zsh.enable = true; zsh.enable = true;
}; };

View file

@ -11,8 +11,6 @@
bluetuith.enable = true; bluetuith.enable = true;
bookmarkthis.enable = true; bookmarkthis.enable = true;
direnv.enable = true; direnv.enable = true;
fzf.enable = true;
node.enable = true; node.enable = true;
ranger.enable = true; ranger.enable = true;

View file

@ -8,7 +8,6 @@
./dev-commit.nix ./dev-commit.nix
./direnv.nix ./direnv.nix
./flameshot.nix ./flameshot.nix
./fzf.nix
./gnupg.nix ./gnupg.nix
./gtk.nix ./gtk.nix
./media/handbrake.nix ./media/handbrake.nix

View file

@ -1,21 +0,0 @@
{ config, lib, ... }:
with lib;
let
cfg = config.features.cli.fzf;
in
{
options.features.cli.fzf.enable = mkEnableOption "Enable fzf";
config = mkIf cfg.enable {
programs.fzf = {
enable = true;
enableZshIntegration = true;
};
home.sessionVariables = {
FZF_DEFAULT_OPTS = "--reverse";
};
};
}

6
modules2/fzf/enable.nix Normal file
View file

@ -0,0 +1,6 @@
{
flake.modules.homeManager.base.programs.fzf = {
enable = true;
enableZshIntegration = true;
};
}

View file

@ -0,0 +1,5 @@
{
flake.modules.homeManager.base.home.sessionVariables = {
FZF_DEFAULT_OPTS = "--reverse";
};
}