mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 16:23:57 +01:00
9a84af4535
This was used for "cargo upgrade" however there have been major improvements to cargo since I added this and dependabot on GitHub handles this better anyway. One major downside of cargo-edit was that it would take a very long time for the initial upgrade to occur, which made me use "cargo update" more anyway to avoid the long wait times.
133 lines
2.4 KiB
Nix
133 lines
2.4 KiB
Nix
{ pkgs, lib, ... }:
|
|
|
|
let
|
|
inherit (pkgs) fish;
|
|
inherit (lib) mkMerge;
|
|
inherit (builtins) attrValues;
|
|
in
|
|
{
|
|
config = {
|
|
users.defaultUserShell = fish;
|
|
environment.shells = [ fish ];
|
|
|
|
environment.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";
|
|
};
|
|
|
|
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)
|
|
fastfetch
|
|
onefetch
|
|
scc
|
|
genact
|
|
dwt1-shell-color-scripts
|
|
colorpanes
|
|
sanctity
|
|
cmatrix
|
|
;
|
|
inherit (pkgs)
|
|
gdu
|
|
hexyl
|
|
zellij
|
|
diskonaut
|
|
pgcli
|
|
litecli
|
|
iamb
|
|
;
|
|
inherit (pkgs)
|
|
p7zip
|
|
unar
|
|
rsync
|
|
rclone
|
|
ffmpeg
|
|
imagemagick
|
|
smartmontools
|
|
restic
|
|
borgbackup
|
|
zbar
|
|
lychee
|
|
ventoy
|
|
taskwarrior3
|
|
;
|
|
inherit (pkgs)
|
|
nixpkgs-review
|
|
nix-init
|
|
nvd
|
|
nix-search-cli
|
|
nix-tree
|
|
;
|
|
inherit (pkgs)
|
|
nodejs
|
|
deno
|
|
;
|
|
inherit (pkgs)
|
|
rustc
|
|
rustfmt
|
|
cargo
|
|
cargo-info
|
|
cargo-license
|
|
cargo-feature
|
|
cargo-tarpaulin
|
|
bacon
|
|
clippy
|
|
;
|
|
inherit (pkgs)
|
|
tectonic
|
|
;
|
|
})
|
|
];
|
|
|
|
programs = {
|
|
fish.enable = true;
|
|
neovim.enable = true;
|
|
|
|
direnv = {
|
|
enable = true;
|
|
silent = true;
|
|
};
|
|
};
|
|
};
|
|
}
|