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