home/apps: move eza and fzf to bash module

This commit is contained in:
Aly Raffauf 2024-06-25 16:58:20 -04:00
parent 455fae315d
commit 24a0a097d3
8 changed files with 34 additions and 59 deletions

View file

@ -5,7 +5,20 @@
... ...
}: { }: {
config = lib.mkIf config.alyraffauf.apps.bash.enable { config = lib.mkIf config.alyraffauf.apps.bash.enable {
programs.bash = { programs = {
eza = {
enable = true;
extraOptions = ["--group-directories-first" "--header"];
git = true;
icons = true;
};
fzf = {
enable = true;
tmux.enableShellIntegration = true;
};
bash = {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;
enableVteIntegration = true; enableVteIntegration = true;
@ -28,4 +41,5 @@
}; };
}; };
}; };
};
} }

View file

@ -9,11 +9,9 @@
./bash ./bash
./chromium ./chromium
./emacs ./emacs
./eza
./fastfetch ./fastfetch
./firefox ./firefox
./fuzzel ./fuzzel
./fzf
./keepassxc ./keepassxc
./librewolf ./librewolf
./mako ./mako

View file

@ -1,15 +0,0 @@
{
pkgs,
lib,
config,
...
}: {
config = lib.mkIf config.alyraffauf.apps.eza.enable {
programs.eza = {
enable = true;
extraOptions = ["--group-directories-first" "--header"];
git = true;
icons = true;
};
};
}

View file

@ -1,13 +0,0 @@
{
pkgs,
lib,
config,
...
}: {
config = lib.mkIf config.alyraffauf.apps.fzf.enable {
programs.fzf = {
enable = true;
tmux.enableShellIntegration = true;
};
};
}

View file

@ -19,11 +19,9 @@
}; };
}; };
emacs.enable = lib.mkEnableOption "Emacs text editor."; emacs.enable = lib.mkEnableOption "Emacs text editor.";
eza.enable = lib.mkEnableOption "Eza ls alternative.";
fastfetch.enable = lib.mkEnableOption "Fastfetch."; fastfetch.enable = lib.mkEnableOption "Fastfetch.";
firefox.enable = lib.mkEnableOption "Firefox web browser."; firefox.enable = lib.mkEnableOption "Firefox web browser.";
fuzzel.enable = lib.mkEnableOption "Fuzzel app launcher."; fuzzel.enable = lib.mkEnableOption "Fuzzel app launcher.";
fzf.enable = lib.mkEnableOption "Fzf fuzzy file finder.";
keepassxc = { keepassxc = {
enable = lib.mkEnableOption "KeePassXC password manager."; enable = lib.mkEnableOption "KeePassXC password manager.";
settings = lib.mkOption { settings = lib.mkOption {

View file

@ -253,12 +253,9 @@
package = pkgs.brave; package = pkgs.brave;
}; };
emacs.enable = true; emacs.enable = true;
eza.enable = true;
fastfetch.enable = true; fastfetch.enable = true;
firefox.enable = true; firefox.enable = true;
fzf.enable = true;
keepassxc.enable = true; keepassxc.enable = true;
neofetch.enable = true;
neovim.enable = true; neovim.enable = true;
tmux.enable = true; tmux.enable = true;
vsCodium.enable = true; vsCodium.enable = true;

View file

@ -35,9 +35,7 @@
alacritty.enable = true; alacritty.enable = true;
bash.enable = true; bash.enable = true;
chromium.enable = true; chromium.enable = true;
eza.enable = true;
firefox.enable = true; firefox.enable = true;
fzf.enable = true;
vsCodium.enable = true; vsCodium.enable = true;
}; };
desktop = { desktop = {

View file

@ -33,9 +33,7 @@
alacritty.enable = true; alacritty.enable = true;
bash.enable = true; bash.enable = true;
chromium.enable = true; chromium.enable = true;
eza.enable = true;
firefox.enable = true; firefox.enable = true;
fzf.enable = true;
vsCodium.enable = true; vsCodium.enable = true;
}; };
theme = { theme = {