Allow myself to keep building
This commit is contained in:
@@ -6,9 +6,13 @@
|
||||
...
|
||||
}:
|
||||
let
|
||||
builderHosts = (
|
||||
lib.attrNames (lib.filterAttrs (_: v: v.config.greg.remote-builder.enable) self.nixosConfigurations)
|
||||
);
|
||||
builderHosts =
|
||||
if self != null then
|
||||
(lib.attrNames (
|
||||
lib.filterAttrs (_: v: v.config.greg.remote-builder.enable) self.nixosConfigurations
|
||||
))
|
||||
else
|
||||
[ ];
|
||||
in
|
||||
{
|
||||
# Enable flakes
|
||||
|
||||
@@ -34,6 +34,7 @@ let
|
||||
container.builder
|
||||
];
|
||||
|
||||
_module.args.self = null; # Prevents containers from getting builder access
|
||||
nixpkgs.overlays = overlays;
|
||||
|
||||
networking = {
|
||||
|
||||
Reference in New Issue
Block a user