Add ssh key to state

This commit is contained in:
Root 2021-02-25 22:25:17 +00:00
parent ab597f16f2
commit ffefe74514
1 changed files with 5 additions and 0 deletions

View File

@ -21,6 +21,11 @@ with lib; {
Defaults lecture = never
'';
systemd.tmpfiles.rules = [
"L /root/.ssh/id_rsa - - - - /state/root/ssh/id_rsa"
"L /root/.ssh/id_rsa.pub - - - - /state/root/ssh/id_rsa.pub"
];
services = {
openssh = {
hostKeys = [