Fuck a secret then
This commit is contained in:
parent
054ff9758c
commit
e6252d551a
|
@ -51,11 +51,6 @@ in {
|
|||
host-key-pkg = host-keys.${config.instance.hostname};
|
||||
host-privkey = builtins.toPath "${host-key-pkg}/${key-filename}";
|
||||
in {
|
||||
secrets = {
|
||||
"/var/run/initrd/ssh-host-key" =
|
||||
config.fudo.secrets.host-secrets.${hostname}.initrd-ssh-host-key.target-file;
|
||||
};
|
||||
|
||||
network = {
|
||||
enable = true;
|
||||
|
||||
|
@ -68,7 +63,7 @@ in {
|
|||
port = 22;
|
||||
authorizedKeys = admin-ssh-keys;
|
||||
hostKeys = [
|
||||
"/var/run/initrd/ssh-host-key"
|
||||
config.fudo.secrets.host-secrets.${hostname}.initrd-ssh-host-key.target-file
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue