diff options
| author | adikro <adikro@disroot.org> | 2026-02-03 22:58:50 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2026-02-03 22:58:50 +0100 |
| commit | eb95abfc230dc239122f1e89e90cd9a998491a2f (patch) | |
| tree | 9d60efacf83b97059f6300e360be2248f8e9c57e /hm/shell/cli.nix | |
| parent | e5036417abe5d3597792f869e2831decd50eba5d (diff) | |
...
Diffstat (limited to 'hm/shell/cli.nix')
| -rw-r--r-- | hm/shell/cli.nix | 46 |
1 files changed, 40 insertions, 6 deletions
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 = { |
