feat: Unify lxc and systems config

This commit is contained in:
UGA Innovation Factory
2025-12-10 10:23:28 -05:00
committed by Hunter Halloran
parent 01d1a36650
commit bcacfd2ca1
5 changed files with 112 additions and 0 deletions

36
sw/headless/programs.nix Normal file
View File

@@ -0,0 +1,36 @@
{
config,
lib,
pkgs,
inputs,
...
}:
with lib;
let
cfg = config.modules.sw;
basePackages = with pkgs; [
uv
perl
openssh
ncurses
tmux
htop
binutils
man
git
oh-my-posh
zsh
lm_sensors
];
in
{
environment.systemPackages = subtractLists cfg.excludePackages (basePackages ++ cfg.extraPackages);
programs.mtr.enable = true;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
}