Add ssh key to state
This commit is contained in:
parent
ab597f16f2
commit
ffefe74514
|
@ -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 = [
|
||||
|
|
Loading…
Reference in New Issue