mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-02-16 17:50:52 +01:00
The year is 2024 and httpie is no longer in fashion. httpie was broken on NixOS anyway due to certificate verification errors, and wget is unnecessary overall since scripts that depend on it have their own $PATH with it available. See: https://github.com/NixOS/nixpkgs/issues/94666
128 lines
2.2 KiB
Nix
128 lines
2.2 KiB
Nix
{ pkgs, lib, ... }:
|
|
|
|
let
|
|
inherit (pkgs) fish;
|
|
inherit (lib) mkMerge;
|
|
inherit (builtins) attrValues;
|
|
in
|
|
{
|
|
users.defaultUserShell = fish;
|
|
|
|
environment = {
|
|
shells = [ fish ];
|
|
|
|
sessionVariables = {
|
|
GIT_DISCOVERY_ACROSS_FILESYSTEM = "1";
|
|
FZF_DEFAULT_OPTS = "--height 40% --reverse --border --color=16";
|
|
NODE_OPTIONS = "--max-old-space-size=16384";
|
|
BAT_THEME = "base16";
|
|
GATSBY_TELEMETRY_DISABLED = "1";
|
|
};
|
|
|
|
systemPackages = mkMerge [
|
|
(attrValues {
|
|
inherit (pkgs)
|
|
jq
|
|
eza
|
|
fd
|
|
fzf
|
|
ripgrep
|
|
xh
|
|
file
|
|
timg
|
|
choose
|
|
sd
|
|
rustscan
|
|
;
|
|
inherit (pkgs)
|
|
treefmt
|
|
yt-dlp
|
|
sox
|
|
asak
|
|
timer
|
|
dig
|
|
mtr
|
|
mediainfo
|
|
fdupes
|
|
whois
|
|
killall
|
|
trashy
|
|
hwinfo
|
|
stress
|
|
hdparm
|
|
recode
|
|
rmlint
|
|
jpegoptim
|
|
pass
|
|
sudachi-rs
|
|
tango
|
|
npm-check-updates
|
|
;
|
|
inherit (pkgs)
|
|
fastfetch
|
|
onefetch
|
|
scc
|
|
genact
|
|
dwt1-shell-color-scripts
|
|
colorpanes
|
|
sanctity
|
|
cmatrix
|
|
;
|
|
inherit (pkgs)
|
|
gdu
|
|
hexyl
|
|
diskonaut
|
|
pgcli
|
|
litecli
|
|
iamb
|
|
;
|
|
inherit (pkgs)
|
|
p7zip
|
|
unar
|
|
rsync
|
|
rclone
|
|
ffmpeg
|
|
imagemagick
|
|
smartmontools
|
|
restic
|
|
borgbackup
|
|
zbar
|
|
phraze
|
|
lychee
|
|
ventoy
|
|
taskwarrior3
|
|
;
|
|
inherit (pkgs)
|
|
nixpkgs-review
|
|
nix-init
|
|
nix-update
|
|
statix
|
|
nvd
|
|
nix-search-cli
|
|
nix-tree
|
|
;
|
|
inherit (pkgs)
|
|
rustc
|
|
rustfmt
|
|
cargo
|
|
cargo-tarpaulin
|
|
bacon
|
|
clippy
|
|
nodejs
|
|
deno
|
|
;
|
|
})
|
|
];
|
|
};
|
|
|
|
programs = {
|
|
fish.enable = true;
|
|
neovim.enable = true;
|
|
|
|
direnv = {
|
|
enable = true;
|
|
silent = true;
|
|
};
|
|
};
|
|
}
|