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 {
programs.bash = {
programs = {
eza = {
enable = true;
extraOptions = ["--group-directories-first" "--header"];
git = true;
icons = true;
};
fzf = {
enable = true;
tmux.enableShellIntegration = true;
};
bash = {
enable = true;
enableCompletion = true;
enableVteIntegration = true;
@ -28,4 +41,5 @@
};
};
};
};
}

View file

@ -9,11 +9,9 @@
./bash
./chromium
./emacs
./eza
./fastfetch
./firefox
./fuzzel
./fzf
./keepassxc
./librewolf
./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.";
eza.enable = lib.mkEnableOption "Eza ls alternative.";
fastfetch.enable = lib.mkEnableOption "Fastfetch.";
firefox.enable = lib.mkEnableOption "Firefox web browser.";
fuzzel.enable = lib.mkEnableOption "Fuzzel app launcher.";
fzf.enable = lib.mkEnableOption "Fzf fuzzy file finder.";
keepassxc = {
enable = lib.mkEnableOption "KeePassXC password manager.";
settings = lib.mkOption {

View file

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

View file

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

View file

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