nichts/hosts/common.nix
Bloxx12 e641dfa114
treewide: format using nixfmt
Signed-off-by: Bloxx12 <charlie@charlieroot.dev>
Change-Id: I6a6a69641c36f9763e104087a559c148d0449f00
2025-07-20 02:14:32 +02:00

57 lines
1.1 KiB
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,
self,
pkgs,
sources,
...
}:
let
inherit (lib.meta) hiPrioSet;
helix = pkgs.callPackage (self + "/packages/helix") { inherit sources; };
fish = pkgs.callPackage (self + "/packages/fish") { inherit sources; };
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
;
inherit fish;
}
++ builtins.attrValues (hiPrioSet {
inherit helix;
inherit (pkgs) uutils-coreutils-noprefix;
});
# helix as the only editor, a reasonable choice.
environment.variables.EDITOR = "hx";
}