add authorized key for root
This commit is contained in:
@@ -92,6 +92,7 @@
|
|||||||
packages = [ pkgs.nh ];
|
packages = [ pkgs.nh ];
|
||||||
openssh.authorizedKeys.keys = [ ssh.publicKeys.yubikey ];
|
openssh.authorizedKeys.keys = [ ssh.publicKeys.yubikey ];
|
||||||
};
|
};
|
||||||
|
users.users.root.openssh.authorizedKeys.keys = [ ssh.publicKeys.yubikey ];
|
||||||
|
|
||||||
nix.settings.trusted-users = [ "jokke" ];
|
nix.settings.trusted-users = [ "jokke" ];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user