feat: Builder config settable with options

This commit is contained in:
Hunter Halloran
2025-12-17 10:43:43 -05:00
parent 3a95155d49
commit 5fe7c08830
5 changed files with 185 additions and 26 deletions

19
sw/builders/programs.nix Normal file
View File

@@ -0,0 +1,19 @@
{
config,
lib,
pkgs,
inputs,
...
}:
with lib;
let
cfg = config.ugaif.sw;
basePackages = with pkgs; [
# Build-related packages can be added here if needed
];
in
{
environment.systemPackages = subtractLists cfg.excludePackages (basePackages ++ cfg.extraPackages);
}