add authorized key for root
This commit is contained in:
committed by
Joakim Repomaa
parent
9f446bc1f6
commit
e2f8d1eeff
@@ -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" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user