Sigh...try a fixed path again.
This commit is contained in:
parent
870c90b679
commit
054ff9758c
@ -52,7 +52,7 @@ in {
|
||||
host-privkey = builtins.toPath "${host-key-pkg}/${key-filename}";
|
||||
in {
|
||||
secrets = {
|
||||
${config.fudo.secrets.host-secrets.${hostname}.initrd-ssh-host-key.target-file} =
|
||||
"/var/run/initrd/ssh-host-key" =
|
||||
config.fudo.secrets.host-secrets.${hostname}.initrd-ssh-host-key.target-file;
|
||||
};
|
||||
|
||||
@ -68,7 +68,7 @@ in {
|
||||
port = 22;
|
||||
authorizedKeys = admin-ssh-keys;
|
||||
hostKeys = [
|
||||
config.fudo.secrets.host-secrets.${hostname}.initrd-ssh-host-key.target-file
|
||||
"/var/run/initrd/ssh-host-key"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user