home: extract fzf configuration
This commit is contained in:
parent
d8c841333b
commit
1d7b9b99db
|
@ -10,6 +10,7 @@
|
||||||
./feh
|
./feh
|
||||||
./firefox
|
./firefox
|
||||||
./flameshot
|
./flameshot
|
||||||
|
./fzf
|
||||||
./gammastep
|
./gammastep
|
||||||
./gdb
|
./gdb
|
||||||
./git
|
./git
|
||||||
|
|
15
home/fzf/default.nix
Normal file
15
home/fzf/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{ config, lib, ... }:
|
||||||
|
let
|
||||||
|
cfg = config.my.home.fzf;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.my.home.fzf = with lib; {
|
||||||
|
enable = my.mkDisableOption "fzf configuration";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
programs.fzf = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -105,12 +105,6 @@ in
|
||||||
enableVteIntegration = true;
|
enableVteIntegration = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Fuzzy-wuzzy
|
|
||||||
programs.fzf = {
|
|
||||||
enable = true;
|
|
||||||
enableZshIntegration = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.dircolors = {
|
programs.dircolors = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue