1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-13 17:10:47 +02:00

Merge pull request #13435 from h0nIg/patch-4

docker: fix nixConf
This commit is contained in:
Eelco Dolstra 2025-07-09 11:16:55 +02:00 committed by GitHub
commit 3cfecd9a80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -184,11 +184,14 @@ let
} " = ";
};
nixConfContents = toConf {
sandbox = false;
build-users-group = "nixbld";
trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" ];
};
nixConfContents = toConf (
{
sandbox = false;
build-users-group = "nixbld";
trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" ];
}
// nixConf
);
userHome = if uid == 0 then "/root" else "/home/${uname}";