Skip to content

Commit

Permalink
modules (dyndns): Test fix for server not exiting in case of problem …
Browse files Browse the repository at this point in the history
  • Loading branch information
britter committed Oct 4, 2024
1 parent b22e019 commit 6abaa4d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/nixos/dyndns/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ in {
sops.templates."fritzbox-cloudflare-dyndns.env" = {
owner = "fritzbox-cloudflare-dyndns";
content = ''
DYNDNS_SERVER_BIND=:8000
DYNDNS_SERVER_BIND=8000
DYNDNS_SERVER_USERNAME=${config.sops.placeholder."dyndns/server-username"}
DYNDNS_SERVER_PASSWORD=${config.sops.placeholder."dyndns/server-password"}
CLOUDFLARE_API_TOKEN=${config.sops.placeholder.dyndns-cloudflare-api-token}
Expand Down
7 changes: 7 additions & 0 deletions packages/fritzbox-cloudflare-dyndns/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
buildGoModule,
fetchFromGitHub,
fetchpatch,
...
}:
buildGoModule rec {
Expand All @@ -13,4 +14,10 @@ buildGoModule rec {
sha256 = "sha256-T3YlQdrr+XJ4rlulmSyq9zeIu1iKNjggN+yhGYjvpw4=";
};
vendorHash = "sha256-Gsoq+41J3aC43eDFZvqDtw5CaEmkeAKMmqOPttEJdhQ=";
patches = [
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/cromefire/fritzbox-cloudflare-dyndns/pull/29.patch";
sha256 = "sha256-gGD8NqDwh/2/Vj+I3DNg8MLI95gAt/dU/EDgfxhUHjQ=";
})
];
}

0 comments on commit 6abaa4d

Please sign in to comment.