mirror of
https://cgit.krebsco.de/krops
synced 2024-11-01 00:39:48 +01:00
readme: add dummy ssh key authorization
This commit is contained in:
parent
e4269ed29b
commit
082896b620
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue