Skip to content

Commit

Permalink
Remove ipv6 resolver and add restart trigger to godns service
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelvanstraten committed Nov 23, 2024
1 parent 51abb2c commit 80efad8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion modules/nixos/personal-cloud.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
services.godns = {
enable = true;
configPath = config.sops.templates."godns-config.yaml".path;
additionalRestartTriggers = [
config.sops.templates."godns-config.yaml".content
];
};

sops.templates."godns-config.yaml".content = # yaml
Expand All @@ -17,7 +20,6 @@
- "${config.networking.hostName}"
ipv6_urls:
- https://api6.ipify.org
- https://api-ipv6.ip.sb/ip
- https://ip2location.io/ip
- https://v6.ipinfo.io/ip
ip_type: IPv6
Expand Down

0 comments on commit 80efad8

Please sign in to comment.