2024-04-09 15:25:30 +02:00
|
|
|
{ pkgs, lib, ... }:
|
2023-06-11 15:51:26 +02:00
|
|
|
|
2024-04-04 02:06:54 +02:00
|
|
|
let
|
2024-04-07 00:44:07 +02:00
|
|
|
inherit (pkgs) fish;
|
2024-04-09 15:25:30 +02:00
|
|
|
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
|
|
|
{
|
2024-04-05 00:37:40 +02:00
|
|
|
config = {
|
2024-04-04 18:25:15 +02:00
|
|
|
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";
|
2024-04-04 18:25:15 +02:00
|
|
|
BAT_THEME = "base16";
|
|
|
|
GATSBY_TELEMETRY_DISABLED = "1";
|
2023-05-18 15:49:56 +02:00
|
|
|
};
|
|
|
|
|
2024-04-05 00:37:40 +02:00
|
|
|
environment.systemPackages = mkMerge [
|
|
|
|
(attrValues {
|
2024-04-06 16:19:02 +02:00
|
|
|
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
|
2024-04-06 17:35:34 +02:00
|
|
|
recode
|
|
|
|
rmlint
|
|
|
|
jpegoptim
|
|
|
|
pass
|
|
|
|
;
|
|
|
|
inherit (pkgs)
|
|
|
|
sudachi-rs
|
|
|
|
tango
|
2024-04-23 04:29:46 +02:00
|
|
|
npm-check-updates
|
2024-04-06 16:19:02 +02:00
|
|
|
;
|
2024-04-05 02:02:51 +02:00
|
|
|
inherit (pkgs)
|
2024-07-17 21:28:23 +02:00
|
|
|
fastfetch
|
2024-04-05 02:02:51 +02:00
|
|
|
onefetch
|
|
|
|
scc
|
|
|
|
genact
|
|
|
|
dwt1-shell-color-scripts
|
|
|
|
colorpanes
|
|
|
|
sanctity
|
|
|
|
cmatrix
|
2024-04-05 17:26:22 +02:00
|
|
|
;
|
2024-04-05 02:02:51 +02:00
|
|
|
inherit (pkgs)
|
|
|
|
gdu
|
|
|
|
hexyl
|
|
|
|
zellij
|
2024-04-06 16:19:02 +02:00
|
|
|
diskonaut
|
2024-04-09 15:25:30 +02:00
|
|
|
pgcli
|
2024-05-13 01:17:12 +02:00
|
|
|
litecli
|
2024-06-11 05:59:12 +02:00
|
|
|
iamb
|
2024-04-05 17:26:22 +02:00
|
|
|
;
|
2024-04-05 02:02:51 +02:00
|
|
|
inherit (pkgs)
|
|
|
|
p7zip
|
|
|
|
unar
|
|
|
|
rsync
|
|
|
|
rclone
|
2024-04-06 16:19:02 +02:00
|
|
|
ffmpeg
|
|
|
|
imagemagick
|
2024-04-06 17:35:34 +02:00
|
|
|
smartmontools
|
|
|
|
restic
|
2024-06-11 05:59:12 +02:00
|
|
|
borgbackup
|
2024-04-06 17:35:34 +02:00
|
|
|
zbar
|
|
|
|
lychee
|
|
|
|
ventoy
|
2024-06-11 05:59:12 +02:00
|
|
|
taskwarrior3
|
2024-04-06 17:35:34 +02:00
|
|
|
;
|
|
|
|
inherit (pkgs)
|
2024-04-06 16:19:02 +02:00
|
|
|
nixpkgs-review
|
2024-04-06 17:35:34 +02:00
|
|
|
nix-init
|
|
|
|
nvd
|
|
|
|
nix-search-cli
|
2024-06-11 05:59:12 +02:00
|
|
|
nix-tree
|
2024-04-05 17:26:22 +02:00
|
|
|
;
|
2024-06-02 17:38:37 +02:00
|
|
|
inherit (pkgs)
|
|
|
|
nodejs
|
|
|
|
deno
|
|
|
|
;
|
|
|
|
inherit (pkgs)
|
|
|
|
rustc
|
|
|
|
rustfmt
|
|
|
|
cargo
|
|
|
|
cargo-info
|
|
|
|
cargo-license
|
|
|
|
cargo-feature
|
|
|
|
cargo-tarpaulin
|
|
|
|
bacon
|
|
|
|
clippy
|
|
|
|
;
|
|
|
|
inherit (pkgs)
|
|
|
|
tectonic
|
|
|
|
;
|
2024-04-05 02:02:51 +02:00
|
|
|
})
|
2024-04-05 00:37:40 +02:00
|
|
|
];
|
|
|
|
|
2024-04-04 18:25:15 +02:00
|
|
|
programs = {
|
2024-04-07 04:06:55 +02:00
|
|
|
fish.enable = true;
|
2024-04-04 18:25:15 +02:00
|
|
|
neovim.enable = true;
|
2024-05-20 05:17:51 +02:00
|
|
|
|
|
|
|
direnv = {
|
|
|
|
enable = true;
|
|
|
|
silent = true;
|
|
|
|
};
|
2024-04-04 14:32:36 +02:00
|
|
|
};
|
2023-05-18 15:49:56 +02:00
|
|
|
};
|
2023-05-17 01:10:15 +02:00
|
|
|
}
|