nix-config/modules/shell.nix

134 lines
2.4 KiB
Nix
Raw Normal View History

{ pkgs, lib, ... }:
2023-06-11 15:51:26 +02:00
2024-04-04 02:06:54 +02:00
let
inherit (pkgs) fish;
inherit (lib) mkMerge;
2024-04-09 15:19:29 +02:00
inherit (builtins) attrValues;
2024-04-04 02:06:54 +02:00
in
2023-06-22 16:42:23 +02:00
{
config = {
users.defaultUserShell = fish;
environment.shells = [ fish ];
environment.sessionVariables = {
GIT_DISCOVERY_ACROSS_FILESYSTEM = "1";
FZF_DEFAULT_OPTS = "--height 40% --reverse --border --color=16";
2024-04-17 02:04:24 +02:00
NODE_OPTIONS = "--max-old-space-size=16384";
BAT_THEME = "base16";
GATSBY_TELEMETRY_DISABLED = "1";
2023-05-18 15:49:56 +02:00
};
environment.systemPackages = mkMerge [
(attrValues {
inherit (pkgs)
wget
jq
eza
fd
fzf
ripgrep
file
timg
choose
sd
;
inherit (pkgs)
treefmt
httpie
yt-dlp
sox
dig
mtr
mediainfo
fdupes
whois
killall
trashy
hwinfo
stress
hdparm
recode
rmlint
jpegoptim
pass
;
inherit (pkgs)
sudachi-rs
tango
npm-check-updates
;
inherit (pkgs)
neofetch
onefetch
scc
genact
dwt1-shell-color-scripts
colorpanes
sanctity
cmatrix
;
inherit (pkgs)
gdu
hexyl
zellij
diskonaut
pgcli
litecli
2024-06-11 05:59:12 +02:00
iamb
;
inherit (pkgs)
p7zip
unar
rsync
rclone
ffmpeg
imagemagick
smartmontools
restic
2024-06-11 05:59:12 +02:00
borgbackup
zbar
lychee
ventoy
2024-06-11 05:59:12 +02:00
taskwarrior3
;
inherit (pkgs)
nixpkgs-review
nix-init
nvd
nix-search-cli
2024-06-11 05:59:12 +02:00
nix-tree
;
inherit (pkgs)
nodejs
deno
;
inherit (pkgs)
rustc
rustfmt
cargo
cargo-info
cargo-license
cargo-feature
cargo-tarpaulin
cargo-edit
bacon
clippy
;
inherit (pkgs)
tectonic
;
})
];
programs = {
fish.enable = true;
neovim.enable = true;
direnv = {
enable = true;
silent = true;
};
};
2023-05-18 15:49:56 +02:00
};
}