all repos — nixfiles @ c01c7cf351d454fe2c2786cf2f7a1003f9d1c767

System and user configuration, managed by nix and home-manager

extract root ssh key to remote-admin role

Alin
commit

c01c7cf351d454fe2c2786cf2f7a1003f9d1c767

parent

4159a99d8358c0526f5329f55f9722c40406bcb4

1 file changed, 8 insertions(+), 0 deletions(-)

changed files
A system/roles/remote-admin.nix
@@ -0,0 +1,8 @@
+{ ... }: +{ + users.users.root = { + openssh.authorizedKeys.keys = [ + "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHYUyDdw92TNXguAxcmcmZmn/7ECGdRp6ckjxU+5zCw3BCnsS5+xEvHBVnnFdJRoH2XpfMeJjE+fi67zFVhlbn4= root@secretive.marvin" + ]; + }; +}