diff --git a/nixos/hosts/nixos-vm-01/default.nix b/nixos/hosts/nixos-vm-01/default.nix index d97a3842..2097aea7 100644 --- a/nixos/hosts/nixos-vm-01/default.nix +++ b/nixos/hosts/nixos-vm-01/default.nix @@ -8,7 +8,7 @@ boot.extraModulePackages = [ ]; # Testing remote builldings - users.users.root.openssh.authorizedKeys.keyFiles = [ ../../../keys/ssh/builder-keys.txt ]; + users.users.${username}.openssh.authorizedKeys.keyFiles = [ ../../../keys/ssh/builder-keys.txt ]; # For cross-architecture builds boot.binfmt.emulatedSystems = [