Move secrets to the right place
This commit is contained in:
parent
e4d4f6d7af
commit
8a928d9e25
@ -45,6 +45,10 @@ in {
|
||||
host-key-pkg = host-keys.${config.instance.hostname};
|
||||
host-privkey = builtins.toPath "${host-key-pkg}/ssh_host_ed25519_key";
|
||||
in {
|
||||
secrets = {
|
||||
"/var/run/ssh-host-key" = host-privkey;
|
||||
};
|
||||
|
||||
network = {
|
||||
enable = true;
|
||||
|
||||
@ -59,9 +63,6 @@ in {
|
||||
hostKeys = [
|
||||
"/var/run/ssh-host-key"
|
||||
];
|
||||
secrets = {
|
||||
"/var/run/ssh-host-key" = host-privkey;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user