2025-03-03 15:56:59 +01:00
|
|
|
# This is for packages I want in all systems.
|
|
|
|
# Keeping this list as small as possible is important,
|
|
|
|
# since these also get installed to server,
|
|
|
|
# which should have a small attack surface.
|
|
|
|
{
|
2025-05-08 23:52:05 +02:00
|
|
|
lib,
|
2025-03-03 15:56:59 +01:00
|
|
|
self,
|
|
|
|
pkgs,
|
2025-07-20 00:48:11 +02:00
|
|
|
sources,
|
2025-03-03 15:56:59 +01:00
|
|
|
...
|
2025-07-20 01:23:48 +02:00
|
|
|
}:
|
|
|
|
let
|
2025-05-08 23:52:05 +02:00
|
|
|
inherit (lib.meta) hiPrioSet;
|
2025-07-20 01:23:48 +02:00
|
|
|
helix = pkgs.callPackage (self + "/packages/helix") { inherit sources; };
|
2025-07-20 00:48:11 +02:00
|
|
|
|
2025-07-20 01:23:48 +02:00
|
|
|
fish = pkgs.callPackage (self + "/packages/fish") { inherit sources; };
|
|
|
|
in
|
|
|
|
{
|
2025-05-08 23:52:05 +02:00
|
|
|
environment.systemPackages =
|
|
|
|
builtins.attrValues {
|
2025-07-20 01:23:48 +02:00
|
|
|
inherit (pkgs)
|
2025-05-08 23:52:05 +02:00
|
|
|
cachix
|
|
|
|
calc
|
|
|
|
delta
|
|
|
|
difftastic
|
|
|
|
eza
|
|
|
|
gcc
|
|
|
|
git
|
|
|
|
httpie
|
|
|
|
inetutils
|
|
|
|
jujutsu
|
|
|
|
just
|
|
|
|
lazygit
|
|
|
|
linuxHeaders
|
|
|
|
neofetch
|
|
|
|
microfetch
|
|
|
|
mprocs
|
|
|
|
nmap
|
|
|
|
ripgrep
|
|
|
|
smartmontools
|
|
|
|
television
|
|
|
|
trash-cli
|
|
|
|
util-linux
|
|
|
|
w3m
|
|
|
|
wireguard-tools
|
|
|
|
zip
|
|
|
|
zoxide
|
|
|
|
;
|
2025-07-19 17:16:42 +02:00
|
|
|
inherit fish;
|
2025-05-08 23:52:05 +02:00
|
|
|
}
|
|
|
|
++ builtins.attrValues (hiPrioSet {
|
2025-07-19 17:16:42 +02:00
|
|
|
inherit helix;
|
|
|
|
inherit (pkgs) uutils-coreutils-noprefix;
|
2025-05-08 23:52:05 +02:00
|
|
|
});
|
2025-03-03 15:56:59 +01:00
|
|
|
# helix as the only editor, a reasonable choice.
|
2025-07-19 19:26:35 +02:00
|
|
|
environment.variables.EDITOR = "hx";
|
2025-03-03 15:56:59 +01:00
|
|
|
}
|