droppie: fix systemd wantedBy

without this, the systemd service does not start after a reboot

add cloud.pub.solar host key to ssh knownHosts
This commit is contained in:
teutat3s 2022-08-23 18:58:13 +02:00
parent 2b3a1d827b
commit d83e408e44
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -26,6 +26,10 @@ in
}
];
services.openssh.knownHosts = {
"cloud.pub.solar".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIABPJSwr9DfnqV0KoL23BcxlWtRxuOqQpnFnCv4SG/LW";
};
systemd.user.services.ssh-tunnel-cloud-pub-solar = {
unitConfig = {
Description = "Reverse SSH connection to enable backups from IPv4-only to IPv6-only host";
@ -37,7 +41,7 @@ in
Restart = "always";
RestartSec = "5s";
};
wantedBy = [ "multi-user.target" ];
wantedBy = [ "default.target" ];
};
services.ddclient = {