aboutsummaryrefslogtreecommitdiff
path: root/modules/terminal/system/programs/eza.nix
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-07-08 14:55:31 +0000
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-07-08 14:55:31 +0000
commitfabc1603e42673afddde37ef121e0b8935559086 (patch)
treee09834122fb348d6253d9ab48549bf559c043dfd /modules/terminal/system/programs/eza.nix
parentc31425298f3de9fff78d38a36ccc2d8e14c580ee (diff)
move stuff to their own files; system update
Diffstat (limited to 'modules/terminal/system/programs/eza.nix')
-rw-r--r--modules/terminal/system/programs/eza.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/terminal/system/programs/eza.nix b/modules/terminal/system/programs/eza.nix
new file mode 100644
index 0000000..52c290d
--- /dev/null
+++ b/modules/terminal/system/programs/eza.nix
@@ -0,0 +1,18 @@
+{
+ pkgs,
+ lib,
+ config,
+ ...
+}: let
+ cfg = config.collinux.terminal.programs.eza;
+in
+ lib.mkIf cfg.enable {
+ hjem.users."${config.collinux.user.name}" = {
+ files.".config/fish/conf.d/eza.fish".text = ''
+ alias ls "eza -A -w 80 --group-directories-first -I '.git*'"
+ alias tree "eza -T"
+ '';
+
+ packages = [pkgs.eza];
+ };
+ }