nixos-config/modules/home/shell-conf.nix

193 lines
3.4 KiB
Nix
Raw Normal View History

2025-04-18 17:46:57 -04:00
{ nix-config, pkgs-stable, inputs, pkgs, ... }:
2025-02-06 13:56:58 -05:00
{
home.packages = with pkgs; [
inputs.isd.packages.x86_64-linux.default
2025-05-05 11:13:21 -04:00
# inputs.impala.packages.x86_64-linux.default
2025-04-29 17:35:06 -04:00
cmake
cmake-format
2025-05-18 13:24:11 -04:00
mediainfo
gtrash
2025-02-06 13:56:58 -05:00
just
readline
rlwrap
yt-dlp
age
figlet
ffmpeg-full
2025-02-06 18:58:39 -05:00
ouch
2025-02-06 13:56:58 -05:00
pinentry
gcr
gnutar
libnotify
unzip
zip
tldr
2025-04-18 17:46:57 -04:00
pkgs-stable.rich-cli
2025-02-06 13:56:58 -05:00
gnupg
imagemagick
2025-03-12 10:39:42 -04:00
2025-02-06 13:56:58 -05:00
nix-du
2025-03-06 15:10:47 -05:00
nix-melt
2025-02-06 13:56:58 -05:00
usbutils
pciutils
util-linux
coreutils
binutils
editorconfig-core-c
2025-02-06 18:58:39 -05:00
exiftool
2025-02-06 13:56:58 -05:00
libsecret
shellcheck
2025-03-12 10:39:42 -04:00
2025-02-06 13:56:58 -05:00
icloudpd
pkg-config
2025-03-12 10:39:42 -04:00
2025-02-06 13:56:58 -05:00
numbat
nix-converter
2025-02-06 13:56:58 -05:00
nurl
2025-02-20 13:51:36 -05:00
fastfetch
2025-02-08 22:30:19 -05:00
nvd
2025-03-10 13:52:39 -04:00
ripgrep-all
2025-02-08 22:30:19 -05:00
silver-searcher
2025-03-12 10:39:42 -04:00
2025-02-08 22:30:19 -05:00
age
2025-02-16 16:24:34 -05:00
manix
2025-02-08 22:30:19 -05:00
caligula
2025-02-06 22:46:37 -05:00
2025-04-29 14:06:35 -04:00
rink
2025-03-09 13:33:31 -04:00
dua
2025-04-29 17:35:06 -04:00
bluetui
2025-03-09 13:33:31 -04:00
2025-03-08 13:03:18 -05:00
tree
emoji-picker
2025-02-06 13:56:58 -05:00
2025-03-12 10:39:42 -04:00
sox
2025-02-06 13:56:58 -05:00
imgcat
ghostscript
playerctl
2025-02-08 22:48:41 -05:00
tesseract
dockfmt
trash-cli
poppler_utils
2025-03-17 17:23:58 -04:00
2025-04-04 14:45:27 -04:00
fishPlugins.foreign-env
fishPlugins.fzf-fish
fishPlugins.bass
fishPlugins.autopair
fishPlugins.forgit
fishPlugins.colored-man-pages
television
2025-02-06 13:56:58 -05:00
];
programs = {
2025-04-09 15:06:48 -04:00
bash = {
enable = true;
};
nix-index = {
enable = true;
enableFishIntegration = true;
};
2025-02-06 13:56:58 -05:00
direnv = {
enable = true;
nix-direnv.enable = true;
};
fish = {
enable = true;
shellAliases = {
"em" = "emacsclient -n -r";
"mkdir" = "mkdir -pv";
2025-05-18 13:24:11 -04:00
"gt" = "gtrash";
2025-02-06 13:56:58 -05:00
};
interactiveShellInit = ''
bind --erase \ct
2025-04-04 14:45:27 -04:00
fzf_configure_bindings --variables=\e\cv
2025-02-06 13:56:58 -05:00
'';
plugins = [
{
name = "upto";
src = pkgs.fetchFromGitHub {
owner = "Markcial";
repo = "upto";
rev = "2d1f35453fb55747d50da8c1cb1809840f99a646";
sha256 = "sha256-Lv2XtP2x9dkIkUUjMBWVpAs/l55Ztu7gIjKYH6ZzK4s=";
};
}
];
};
zoxide = {
enableFishIntegration = true;
2025-02-06 13:56:58 -05:00
enable = true;
};
starship = {
enableFishIntegration = true;
2025-02-06 13:56:58 -05:00
enable = true;
};
ripgrep = {
enable = true;
2025-02-23 12:42:17 -05:00
package = (pkgs.ripgrep.override {withPCRE2 = true;});
2025-02-06 13:56:58 -05:00
};
thefuck = {
enableFishIntegration = true;
2025-02-06 13:56:58 -05:00
enable = true;
};
wezterm = {
enable = true;
package = inputs.wezterm.packages.${pkgs.system}.default;
};
bat = {
enable = true;
};
eza = {
enable = true;
enableFishIntegration = true;
2025-03-22 10:57:26 -04:00
git = true;
icons = "auto";
colors = "auto";
2025-02-06 13:56:58 -05:00
};
fd = {
enable = true;
};
fzf = {
enable = true;
enableFishIntegration = false;
};
broot = {
enable = true;
};
lazygit.enable = true;
jq.enable = true;
rbw = {
enable = true;
package = nix-config.packages.x86_64-linux.rbw-latest;
};
};
2025-03-21 16:50:54 -04:00
xdg.configFile."starship.toml".source = ./shell-conf/starship/starship.toml;
2025-02-06 13:56:58 -05:00
xdg.configFile."wezterm" = {
recursive = true;
2025-03-21 16:50:54 -04:00
source = ./shell-conf/wezterm;
2025-02-06 13:56:58 -05:00
};
2025-02-21 13:07:22 -05:00
2025-03-21 16:50:54 -04:00
xdg.configFile."rbw".source = ./shell-conf/rbw;
xdg.configFile."isd_tui/config.yaml".source = ./shell-conf/isd_tui/config.yaml;
2025-02-18 13:01:44 -05:00
2025-02-06 13:56:58 -05:00
home.file.".config/fish/functions" = {
2025-03-21 16:50:54 -04:00
source = ./shell-conf/fish/functions;
2025-02-06 13:56:58 -05:00
recursive = true;
};
home.file.".config/fish/completions" = {
2025-03-21 16:50:54 -04:00
source = ./shell-conf/fish/completions;
2025-02-06 13:56:58 -05:00
recursive = true;
};
2025-03-21 16:50:54 -04:00
home.file.".local/share/flf".source = ./shell-conf/flf;
2025-02-06 13:56:58 -05:00
}