aboutsummaryrefslogtreecommitdiff
path: root/nix/profiles/home-manager/shell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/profiles/home-manager/shell.nix')
-rw-r--r--nix/profiles/home-manager/shell.nix62
1 files changed, 39 insertions, 23 deletions
diff --git a/nix/profiles/home-manager/shell.nix b/nix/profiles/home-manager/shell.nix
index d90e125..cd37929 100644
--- a/nix/profiles/home-manager/shell.nix
+++ b/nix/profiles/home-manager/shell.nix
@@ -4,15 +4,23 @@
# shell utils
coreutils
direnv
+ dust
+ procs
ripgrep
tree
wget
+ # network
+ bandwhich
+
# data manipulation
jless
jq
yq
+ # encryption
+ age
+
# media
# mpv - TODO: this is currently broken
ffmpeg
@@ -32,27 +40,6 @@
nil # nix lsp
];
- programs.tmux = {
- enable = true;
- terminal = "xterm-256color";
- escapeTime = 0;
- aggressiveResize = true;
- baseIndex = 1;
- shortcut = "z";
- clock24 = true;
- shell = "${pkgs.fish}/bin/fish";
- historyLimit = 50000; # Bigger buffer
- extraConfig = ''
- setw -g mouse on
-
- # Avoid date/time taking up space
- set -g status-right ""
- set -g status-right-length 0
-
- set-option -g renumber-windows on
- '';
- };
-
xdg = {
configFile = {
"aspell/config".text = ''
@@ -80,8 +67,21 @@
# an alternative to ls
programs.eza = {
enable = true;
- icons = true;
- extraOptions = [ "--group-directories-first" "--no-quotes" "--git-ignore" ];
+ icons = false;
+ enableFishIntegration = false;
+ extraOptions = [
+ "--group-directories-first"
+ "--no-quotes"
+ "--git-ignore"
+ "--icons=never"
+ ];
+ };
+
+ # an alternative to find
+ programs.fd = {
+ enable = true;
+ hidden = true;
+ ignores = [ ".git/" ];
};
programs.direnv = {
@@ -93,4 +93,20 @@
global.strict_env = true;
};
};
+
+ programs.fish = {
+ enable = true;
+ interactiveShellInit = ''
+ set fish_greeting ""
+ '';
+
+ shellAbbrs = { ncg = "nix-collect-garbage -d"; };
+ shellAliases = {
+ c = "clear";
+ ls = "eza -l -L=1 --git --color=always --group-directories-first";
+ la = "eza -la --git --color=always --group-directories-first";
+ ll = "eza -la -L=1 --git --color=always --group-directories-first";
+ lt = "eza -aT -L=2 --git --color=always --group-directories-first";
+ };
+ };
}