Allow myself to keep building
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user