[Nix] Fix builder ssh key

This commit is contained in:
Antoine Viallon 2022-10-09 01:29:03 +02:00
parent 2f20fad072
commit 2ac7d4e239
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -131,8 +131,8 @@ in
isSystemUser = true;
group = "builder";
hashedPassword = mkForce null; # Must not have a password!
openssh.authorizedKeys.keyFiles = [
buildUserKeyFile
openssh.authorizedKeys.keys = [
(readFile buildUserPubKeyFile)
];
shell = pkgs.bashInteractive;
};