install eza

This commit is contained in:
Reid 2024-05-30 23:11:58 -07:00
parent 19ad0e1223
commit acf7c88934
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
2 changed files with 18 additions and 2 deletions

View file

@ -21,7 +21,7 @@
# compatibility
wineWowPackages.waylandFull winetricks
# misc
bat file which tree prismlauncher yt-dlp wl-screenrec
bat file which prismlauncher yt-dlp wl-screenrec
] ++ (with pkgs.my; [
# none yet
]) ++ (with pkgs.gnome; [
@ -75,8 +75,9 @@
distractions.discord.vesktop = true;
distractions.steam.enable = true;
# tools
tools.mpv.enable = true;
tools.eza.enable = true;
tools.gpg.enable = true;
tools.mpv.enable = true;
};
};

View file

@ -0,0 +1,15 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.modules.software.tools.eza;
in {
options.modules.software.tools.eza = {
enable = mkEnableOption "Enable eza, a modern replacement for ls";
};
config = mkIf cfg.enable {
hm.programs.eza.enable = true;
hm.programs.eza.git = true;
};
}