This commit is contained in:
parent
ccbe21a5c4
commit
96b467b7ed
7 changed files with 11 additions and 27 deletions
|
@ -7,8 +7,6 @@
|
|||
cli = {
|
||||
bookmarkthis.enable = true;
|
||||
direnv.enable = true;
|
||||
fzf.enable = true;
|
||||
|
||||
node.enable = true;
|
||||
ranger.enable = true;
|
||||
starship.enable = true;
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
];
|
||||
|
||||
features.cli = {
|
||||
fzf.enable = true;
|
||||
starship.enable = true;
|
||||
zsh.enable = true;
|
||||
};
|
||||
|
|
|
@ -11,8 +11,6 @@
|
|||
bluetuith.enable = true;
|
||||
bookmarkthis.enable = true;
|
||||
direnv.enable = true;
|
||||
fzf.enable = true;
|
||||
|
||||
node.enable = true;
|
||||
|
||||
ranger.enable = true;
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
./dev-commit.nix
|
||||
./direnv.nix
|
||||
./flameshot.nix
|
||||
./fzf.nix
|
||||
./gnupg.nix
|
||||
./gtk.nix
|
||||
./media/handbrake.nix
|
||||
|
|
|
@ -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
6
modules2/fzf/enable.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
flake.modules.homeManager.base.programs.fzf = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
}
|
5
modules2/fzf/session-variables.nix
Normal file
5
modules2/fzf/session-variables.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
flake.modules.homeManager.base.home.sessionVariables = {
|
||||
FZF_DEFAULT_OPTS = "--reverse";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue