fix: disable ddclient with broken config on droppie

This commit is contained in:
Benjamin Bädorf 2023-07-20 23:07:52 +02:00
parent ffa70c499c
commit c04be07044
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C
2 changed files with 3 additions and 4 deletions

View file

@ -34,13 +34,12 @@ in {
]; ];
services.ddclient = { services.ddclient = {
enable = true; enable = false;
ipv6 = true; ipv6 = true;
domains = ["backup.b12f.io"]; domains = ["backup.b12f.io"];
server = "ddns.hosting.de"; server = "ddns.hosting.de";
username = "b12f"; username = "b12f";
protocol = "dyndns2"; use = "web, web=https://ipcheck-ds.wieistmeineip.de/callback/, web-skip='ip\":\"'";
use = "web, web=https://ipcheck-ds.wieistmeineip.de/callback/, web-skip='\\\\(\\\\{\"ip\":\"'";
passwordFile = "/run/agenix/dyndns-droppie.key"; passwordFile = "/run/agenix/dyndns-droppie.key";
}; };

View file

@ -17,7 +17,7 @@ in {
}; };
serviceConfig = { serviceConfig = {
Type = "simple"; Type = "simple";
ExecStart = "${pkgs.openssh}/bin/ssh -vvv -g -N -T -o 'ServerAliveInterval 10' -o 'ExitOnForwardFailure yes' -R 127.0.0.1:22022:localhost:22 root@cloud.pub.solar"; ExecStart = "${pkgs.openssh}/bin/ssh -vvv -g -N -T -o ServerAliveInterval=10 -o ExitOnForwardFailure=yes -R 127.0.0.1:22022:localhost:22 root@cloud.pub.solar";
User = psCfg.user.name; User = psCfg.user.name;
Group = "users"; Group = "users";
Restart = "always"; Restart = "always";