Let's try this again just to verify
This commit is contained in:
parent
8a928d9e25
commit
f3bc3c2013
@ -45,10 +45,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}/ssh_host_ed25519_key";
|
host-privkey = builtins.toPath "${host-key-pkg}/ssh_host_ed25519_key";
|
||||||
in {
|
in {
|
||||||
secrets = {
|
|
||||||
"/var/run/ssh-host-key" = host-privkey;
|
|
||||||
};
|
|
||||||
|
|
||||||
network = {
|
network = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
@ -61,7 +57,7 @@ in {
|
|||||||
port = 22;
|
port = 22;
|
||||||
authorizedKeys = admin-ssh-keys;
|
authorizedKeys = admin-ssh-keys;
|
||||||
hostKeys = [
|
hostKeys = [
|
||||||
"/var/run/ssh-host-key"
|
host-privkey
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user