diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-08-17 20:48:18 -0500 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-08-17 20:48:18 -0500 |
| commit | 2b1c6161c5d2381cbfe224694dfb218aee0b6da1 (patch) | |
| tree | e51c7bd694d5ad27fb9e68e51f11aae4e8c57fcc /modules/networking/nixos/unbound.nix | |
| parent | e29dd8a2283399b7e046937340509d5aec4b52ba (diff) | |
something is seriously broken rn
Diffstat (limited to 'modules/networking/nixos/unbound.nix')
| -rw-r--r-- | modules/networking/nixos/unbound.nix | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/modules/networking/nixos/unbound.nix b/modules/networking/nixos/unbound.nix deleted file mode 100644 index b8b1e0b..0000000 --- a/modules/networking/nixos/unbound.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ - config, - lib, - ... -}: let - cfg = config.collinux.system.network.dns; -in - lib.mkIf cfg.areYouAServer { - networking = { - nameservers = ["127.0.0.1"]; - resolvconf.enable = lib.mkForce true; # we disabled this earlier - }; - services.resolved.enable = false; - - services.unbound = { - enable = true; - settings.server = { - interface = ["0.0.0.0"]; - port = 53; - access-control = [ - "127.0.0.0/8 allow" - "10.100.0.0/24 allow" - "0.0.0.0/0 refuse" - ]; - - local-zone = [''"ganymede." redirect'']; - local-data = [''"ganymede. IN A 10.100.0.1"'']; - }; - }; - } |
