Fuck a secret then

This commit is contained in:
niten 2021-10-15 10:38:07 -07:00
parent 054ff9758c
commit e6252d551a
1 changed files with 1 additions and 6 deletions

View File

@ -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
];
};
};