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:
parent
09c5b19a0e
commit
fa429b06c6
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user