1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00

docker: fix nixConf

This commit is contained in:
h0nIg 2025-07-09 09:30:11 +02:00 committed by GitHub
parent 7caac53ae4
commit 8a1f471b66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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