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

258 lines
5 KiB
Nix
Raw Normal View History

2025-02-06 13:56:58 -05:00
{ nix-config, inputs, pkgs, ... }:
{
home.packages = with pkgs; [
inputs.isd.packages.x86_64-linux.default
cmake
cmake-format
2025-02-06 13:56:58 -05:00
just
readline
rlwrap
yt-dlp
erdtree
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
stdenv
tldr
2025-02-06 18:58:39 -05:00
glow
2025-02-06 13:56:58 -05:00
delta
2025-02-16 16:24:34 -05:00
btop-rocm
2025-02-06 13:56:58 -05:00
gnupg
imagemagick
gnutls
gettext
gnumake
nix-index
nix-du
usbutils
pciutils
util-linux
coreutils
binutils
editorconfig-core-c
2025-02-06 18:58:39 -05:00
openssl
exiftool
2025-02-06 13:56:58 -05:00
libsecret
shellcheck
libffi.dev
nodejs_18
platformio-core
icloudpd
pkg-config
ftgl
gperf
numbat
glpng
nurl
2025-02-20 13:51:36 -05:00
fastfetch
2025-02-08 22:30:19 -05:00
nvd
ripgrep-all
silver-searcher
powertop
age
kdotool
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-02-18 13:01:44 -05:00
yaml-language-server
typescript-language-server
svelte-language-server
bash-language-server
nginx-language-server
lua-language-server
lemminx
stylelint-lsp
htmx-lsp
autotools-language-server
arduino-language-server
ccls
vscode-langservers-extracted
java-language-server
nix-config.pkgs-stable.javascript-typescript-langserver
haskell-language-server
cmake-language-server
stylelint-lsp
black
jsbeautifier
typescript
prettierd
stylelint
2025-02-06 13:56:58 -05:00
nixd
nixdoc
nix-init
2025-02-18 13:01:44 -05:00
alejandra
2025-02-06 13:56:58 -05:00
git-annex
bfg-repo-cleaner
fishPlugins.foreign-env
fishPlugins.fzf-fish
fishPlugins.bass
fishPlugins.autopair
fishPlugins.forgit
fishPlugins.colored-man-pages
imgcat
ghostscript
playerctl
2025-02-08 22:48:41 -05:00
tesseract
alsa-utils
alsa-tools
dockfmt
icloudpd
borgbackup
trash-cli
poppler_utils
2025-02-06 13:56:58 -05:00
faircamp
2025-02-06 13:56:58 -05:00
];
programs = {
direnv = {
enable = true;
nix-direnv.enable = true;
};
fish = {
enable = true;
shellAliases = {
"ls" = "eza";
".j" = "just -g";
"em" = "emacsclient -n -r";
"mkdir" = "mkdir -pv";
};
interactiveShellInit = ''
bind --erase \ct
'';
plugins = [
{
name = "upto";
src = pkgs.fetchFromGitHub {
owner = "Markcial";
repo = "upto";
rev = "2d1f35453fb55747d50da8c1cb1809840f99a646";
sha256 = "sha256-Lv2XtP2x9dkIkUUjMBWVpAs/l55Ztu7gIjKYH6ZzK4s=";
};
}
];
};
zoxide = {
enable = true;
};
starship = {
enable = true;
};
ripgrep = {
enable = true;
};
thefuck = {
enable = true;
};
wezterm = {
enable = true;
package = inputs.wezterm.packages.${pkgs.system}.default;
# extraConfig = lib.readFile ./dotfiles/dot_config/wezterm/wezterm.lua;
};
bat = {
enable = true;
};
borgmatic = {
enable = true;
backups = {
eddie = {
location = {
patterns = [
"R /home/emenel"
"- home/emenel/.cache"
"- home/emenel/.nix*"
"- home/emenel/.steam*"
"- home/emenel/Dropbox"
"- home/emenel/Sync"
"- home/emenel/.dropbox*"
"- home/emenel/.BitwigStudio"
"- home/emenel/.local/share/bitwig"
];
repositories = [
{
"path" = "ssh://oyi3ydnz@oyi3ydnz.repo.borgbase.com/./repo";
"label" = "eddie on borgbase";
}
];
};
retention = {
keepDaily = 3;
keepHourly = 3;
keepMonthly = 2;
};
};
};
};
eza = {
enable = true;
};
fd = {
enable = true;
};
fzf = {
enable = true;
enableFishIntegration = false;
};
broot = {
enable = true;
};
git = {
enable = true;
lfs.enable = true;
};
htop.enable = true;
lazygit.enable = true;
jq.enable = true;
rbw = {
enable = true;
package = nix-config.packages.x86_64-linux.rbw-latest;
};
};
home.file.".ssh/config".source = ../../homes/emenel/dotfiles/dot_ssh/config;
xdg.configFile."starship.toml".source = ../../homes/emenel/dotfiles/dot_config/starship.toml;
xdg.configFile."wezterm" = {
recursive = true;
source = ../../homes/emenel/dotfiles/dot_config/wezterm;
};
xdg.configFile."just/justfile".source = ../../homes/emenel/dotfiles/dot_config/just/justfile;
xdg.configFile."git".source = ../../homes/emenel/dotfiles/dot_config/git;
xdg.configFile."rbw".source = ../../homes/emenel/dotfiles/dot_config/rbw;
2025-02-18 13:01:44 -05:00
xdg.configFile."isd_tui/config.yaml".source = ../../homes/emenel/dotfiles/dot_config/isd_tui/config.yaml;
2025-02-06 13:56:58 -05:00
home.file.".config/fish/functions" = {
source = ../../homes/emenel/dotfiles/dot_config/fish/functions;
recursive = true;
};
home.file.".config/fish/completions" = {
source = ../../homes/emenel/dotfiles/dot_config/fish/completions;
recursive = true;
};
home.file.".local/share/flf".source = ../../homes/emenel/dotfiles/dot_local/share/flf;
}