From e2f8d1eeff2b67419f7b4c306575aac5af84203b Mon Sep 17 00:00:00 2001 From: Joakim Repomaa Date: Fri, 7 Feb 2025 15:40:45 +0200 Subject: [PATCH] add authorized key for root --- hosts/freun.dev/configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/freun.dev/configuration.nix b/hosts/freun.dev/configuration.nix index b8f7d3c..ef124b5 100644 --- a/hosts/freun.dev/configuration.nix +++ b/hosts/freun.dev/configuration.nix @@ -92,6 +92,7 @@ packages = [ pkgs.nh ]; openssh.authorizedKeys.keys = [ ssh.publicKeys.yubikey ]; }; + users.users.root.openssh.authorizedKeys.keys = [ ssh.publicKeys.yubikey ]; nix.settings.trusted-users = [ "jokke" ];