summaryrefslogtreecommitdiff
path: root/hm/shell/cli.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2025-12-20 03:14:45 +0100
committeradikro <adikro@disroot.org>2025-12-20 03:14:45 +0100
commit791bc419b6dac7c70951981ef6b34cdf85828470 (patch)
tree56d0962fdf829ae942feb1344763e54dbc3c89a3 /hm/shell/cli.nix
parente60410393cea222b16743a1a87f29c06b9b3543b (diff)
absolutely massive rewrite, made (almost) everything modular with changes to come
Diffstat (limited to 'hm/shell/cli.nix')
-rw-r--r--hm/shell/cli.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/hm/shell/cli.nix b/hm/shell/cli.nix
new file mode 100644
index 0000000..222b002
--- /dev/null
+++ b/hm/shell/cli.nix
@@ -0,0 +1,35 @@
+{ config, lib, pkgs, ... }:
+let
+ cfg = config.szpont.hm.shell.cli;
+in
+{
+ options.szpont.hm.shell.cli.enable = lib.mkEnableOption "modern cli tools";
+
+ config = lib.mkIf cfg.enable {
+ programs.zoxide.enable = true;
+ programs.zoxide.options = [ "--cmd cd" ];
+
+ programs.bat = {
+ enable = true;
+ config.theme = "gruvbox-dark";
+ };
+
+ programs.eza.enable = true;
+ programs.fzf.enable = true;
+ programs.fd.enable = true;
+ programs.ripgrep.enable = true;
+ programs.yazi.enable = true;
+
+ programs.btop.enable = true;
+ programs.fastfetch.enable = true;
+
+ home.packages = with pkgs; [
+ gdu
+ file
+ mediainfo
+ chafa
+ hexyl
+ procs
+ ];
+ };
+}