This commit is contained in:
parent
ccbe21a5c4
commit
96b467b7ed
7 changed files with 11 additions and 27 deletions
|
@ -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;
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
features.cli = {
|
features.cli = {
|
||||||
fzf.enable = true;
|
|
||||||
starship.enable = true;
|
starship.enable = true;
|
||||||
zsh.enable = true;
|
zsh.enable = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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