Fix imports

This commit is contained in:
Marko Korhonen 2024-09-21 15:13:27 +03:00
parent e1edfe1edc
commit f7253ecbe2
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
2 changed files with 10 additions and 10 deletions

View file

@ -2,15 +2,15 @@
{
imports = [
./programs/bat.nix
./programs/default.nix
./programs/eza.nix
./programs/firefox.nix
./programs/git.nix
./programs/neovim.nix
./programs/pass.nix
./programs/ripgrep.nix
./programs/zellij.nix
./programs/zsh.nix
./bat.nix
./eza.nix
./firefox.nix
./fzf.nix
./git.nix
./neovim.nix
./pass.nix
./ripgrep.nix
./zellij.nix
./zsh.nix
];
}

View file

@ -0,0 +1,15 @@
{ ... }:
{
programs.fzf = {
enable = true;
enableZshIntegration = true;
defaultCommand = "fd -Hlt f";
defaultOptions = [ "-m --ansi --bind ctrl-a:toggle-all,ctrl-d:deselect-all,ctrl-t:toggle-all" ];
fileWidgetCommand = "fd -Hlt f --strip-cwd-prefix";
fileWidgetOptions = [ "--preview 'bat --color=always --style=numbers --line-range=:500 {}" ];
changeDirWidgetCommand = "fd -Hlt d";
changeDirWidgetOptions = [ "--preview 'eza -l {}'" ];
};
}