mirror of
https://cgit.krebsco.de/krops/
synced 2025-02-07 07:45:50 +00:00
readme: add dummy ssh key authorization
This commit is contained in:
parent
e4269ed29b
commit
082896b620
@ -34,6 +34,9 @@ let
|
|||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
environment.systemPackages = [ pkgs.git ];
|
environment.systemPackages = [ pkgs.git ];
|
||||||
|
users.users.root.openssh.authorizedKeys.keys = [
|
||||||
|
"ssh-rsa ADD_YOUR_OWN_PUBLIC_KEY_HERE user@localhost"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
'');
|
'');
|
||||||
}];
|
}];
|
||||||
|
Loading…
Reference in New Issue
Block a user