1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-26 07:43:45 +01:00

feat: enable godns until nur gets rebuilt

This commit is contained in:
Thomas Boerger 2022-04-11 00:02:43 +02:00
parent 09c5b19a0e
commit fa429b06c6
No known key found for this signature in database
GPG Key ID: 09745AFF9D63C79B
2 changed files with 3 additions and 2 deletions

@ -8,6 +8,7 @@
./shells.nix
./tools.nix
./users.nix
./godns.nix
];
config = {

@ -6,13 +6,13 @@ let
cfg = config.services.godns;
settingsFormat = pkgs.formats.json {};
settingsFile = settingsFormat.generate "godns.json" cfg.settings // {
settingsFile = settingsFormat.generate "godns.json" ({
ip_url = "https://ip4.seeip.org";
ipv6_url = "https://ip6.seeip.org";
ip_type = "IPv4";
interval = 300;
resolver = "8.8.8.8";
};
} // cfg.settings);
in
{