mirror of
https://github.com/NixOS/nix
synced 2025-07-12 23:15:08 +02:00
parent
dcc4b7c6fd
commit
8b0cfaed9b
1 changed files with 8 additions and 5 deletions
13
docker.nix
13
docker.nix
|
@ -184,11 +184,14 @@ let
|
|||
} " = ";
|
||||
};
|
||||
|
||||
nixConfContents = toConf ({
|
||||
sandbox = false;
|
||||
build-users-group = "nixbld";
|
||||
trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" ];
|
||||
} // nixConf);
|
||||
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}";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue