feat: Builder config settable with options
This commit is contained in:
19
sw/builders/programs.nix
Normal file
19
sw/builders/programs.nix
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user