From 2ac7d4e239f3c785c0077c8b16233ec21031861c Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Sun, 9 Oct 2022 01:29:03 +0200 Subject: [PATCH] [Nix] Fix builder ssh key --- general.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/general.nix b/general.nix index 09e8328..3700765 100644 --- a/general.nix +++ b/general.nix @@ -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; };