1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 03:56:01 +01:00

docker: fix nixConf - fmt

(cherry picked from commit 9857c0bb52)
This commit is contained in:
h0nIg 2025-07-09 09:34:50 +02:00 committed by Mergify
parent dcc4b7c6fd
commit 8b0cfaed9b

View file

@ -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}";