Allow myself to keep building

This commit is contained in:
Greg Hellings
2024-11-04 11:04:45 -06:00
parent 81b9306fc6
commit fa8e7bab4b
2 changed files with 8 additions and 3 deletions
+7 -3
View File
@@ -6,9 +6,13 @@
... ...
}: }:
let let
builderHosts = ( builderHosts =
lib.attrNames (lib.filterAttrs (_: v: v.config.greg.remote-builder.enable) self.nixosConfigurations) if self != null then
); (lib.attrNames (
lib.filterAttrs (_: v: v.config.greg.remote-builder.enable) self.nixosConfigurations
))
else
[ ];
in in
{ {
# Enable flakes # Enable flakes
+1
View File
@@ -34,6 +34,7 @@ let
container.builder container.builder
]; ];
_module.args.self = null; # Prevents containers from getting builder access
nixpkgs.overlays = overlays; nixpkgs.overlays = overlays;
networking = { networking = {