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-key-pkg = host-keys.${config.instance.hostname};
|
||||||
host-privkey = builtins.toPath "${host-key-pkg}/${key-filename}";
|
host-privkey = builtins.toPath "${host-key-pkg}/${key-filename}";
|
||||||
in {
|
in {
|
||||||
secrets = {
|
|
||||||
"/var/run/initrd/ssh-host-key" =
|
|
||||||
config.fudo.secrets.host-secrets.${hostname}.initrd-ssh-host-key.target-file;
|
|
||||||
};
|
|
||||||
|
|
||||||
network = {
|
network = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
@ -68,7 +63,7 @@ in {
|
||||||
port = 22;
|
port = 22;
|
||||||
authorizedKeys = admin-ssh-keys;
|
authorizedKeys = admin-ssh-keys;
|
||||||
hostKeys = [
|
hostKeys = [
|
||||||
"/var/run/initrd/ssh-host-key"
|
config.fudo.secrets.host-secrets.${hostname}.initrd-ssh-host-key.target-file
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue