nichts/hosts/common.nix
Bloxx12 71505a4629
helix: move to modules/home
Signed-off-by: Bloxx12 <charlie@charlieroot.dev>
Change-Id: I6a6a6964949ee86c73c9dee2fc4a89c01a7a0579
2025-07-21 00:26:15 +02:00

50 lines
962 B
Nix

# 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.
{
lib,
pkgs,
...
}:
let
inherit (lib.meta) hiPrioSet;
in
{
environment.systemPackages =
builtins.attrValues {
inherit (pkgs)
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
;
}
++ builtins.attrValues (hiPrioSet {
})
++ [ (lib.hiPrio pkgs.uutils-coreutils-noprefix) ];
# helix as the only editor, a reasonable choice.
environment.variables.EDITOR = "hx";
}