From eb95abfc230dc239122f1e89e90cd9a998491a2f Mon Sep 17 00:00:00 2001 From: adikro Date: Tue, 3 Feb 2026 22:58:50 +0100 Subject: ... --- hm/shell/cli.nix | 46 ++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 40 insertions(+), 6 deletions(-) (limited to 'hm/shell/cli.nix') diff --git a/hm/shell/cli.nix b/hm/shell/cli.nix index b02922b..142fda5 100644 --- a/hm/shell/cli.nix +++ b/hm/shell/cli.nix @@ -3,16 +3,14 @@ lib, pkgs, ... -}: -let +}: let cfg = config.hm.shell.cli; -in -{ +in { options.hm.shell.cli.enable = lib.mkEnableOption "modern cli tools"; config = lib.mkIf cfg.enable { programs.zoxide = { enable = true; - options = [ "--cmd cd" ]; + options = ["--cmd cd"]; }; programs.bat = { enable = true; @@ -25,7 +23,43 @@ in programs.ripgrep.enable = true; programs.yazi.enable = true; programs.btop.enable = true; - programs.fastfetch.enable = true; + programs.fastfetch = { + enable = true; + settings = { + display = { + size = { + binaryPrefix = "iec"; + }; + separator = "  "; + }; + multithreading = true; + modules = [ + "title" + "separator" + "os" + { + type = "command"; + key = "Generation"; + text = "readlink /nix/var/nix/profiles/system | cut -d- -f2"; + } + "kernel" + "uptime" + "processes" + "shell" + "display" + "wm" + "terminal" + "cpu" + "gpu" + "memory" + "swap" + "disk" + "localip" + "break" + "colors" + ]; + }; + }; programs.direnv.enable = true; programs.jq.enable = true; programs.nix-your-shell = { -- cgit v1.3