From 11c2b185b6df8f2353877bd3dfe103be0960df4e Mon Sep 17 00:00:00 2001 From: matt1432 Date: Wed, 6 Dec 2023 01:55:59 -0500 Subject: [PATCH] chore: update flake.lock --- devices/oksys/modules/pihole.nix | 16 +++++++++++++--- flake.lock | 12 ++++++------ 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/devices/oksys/modules/pihole.nix b/devices/oksys/modules/pihole.nix index 6d7d3a3..190b078 100644 --- a/devices/oksys/modules/pihole.nix +++ b/devices/oksys/modules/pihole.nix @@ -1,22 +1,32 @@ {pihole, ...}: { imports = [pihole.nixosModules.default]; - #TODO: set the whole thing up services.pihole = { enable = true; - dnsPort = 5335; + dnsPort = 5353; webPort = 8080; piholeConfig = { ftl = { - LOCAL_IPV4 = "127.0.0.1"; + # Defaults + PRIVACYLEVEL = "0"; + RATE_LIMIT = "1000/60"; }; + interface = "tailscale0"; + web = { + theme = "default-darker"; virtualHost = "pi.hole"; password = "password"; }; + + # Handle it with unbound + dns.upstreamServers = [ + "127.0.0.1#5335" + "127.0.0.1#5335" + ]; }; }; } diff --git a/flake.lock b/flake.lock index b7b7b0f..1ab9325 100644 --- a/flake.lock +++ b/flake.lock @@ -765,11 +765,11 @@ }, "nur": { "locked": { - "lastModified": 1701817202, - "narHash": "sha256-ReuTsHGgs99DIO8Gg32Ho9aIKnW0rcZa42ltdHWfkD8=", + "lastModified": 1701842485, + "narHash": "sha256-XiLWxtXbDCzI0NPXIl6pQr5WdXkxS/485D7uWbcwxDc=", "owner": "nix-community", "repo": "NUR", - "rev": "36cffb929d12255feafaa6ba4d286e13ba41f8e1", + "rev": "e61ecd3426fdbeeecdc137da715343ae9ca33868", "type": "github" }, "original": { @@ -803,11 +803,11 @@ ] }, "locked": { - "lastModified": 1701596451, - "narHash": "sha256-+iuwnWvn3NG14Xz5sOvyCn69yFVA8+KE9XzI44SATgQ=", + "lastModified": 1701843242, + "narHash": "sha256-nMNWFfjC2y2ZRIPXHMZ/9tGuMAOi2/9tO1MsG6tLCxI=", "owner": "matt1432", "repo": "pihole-flake", - "rev": "a566ff5b0b9ff6a1a1d342b34438389b68b1cf4e", + "rev": "e870c2dd653bd5c839a90229af7ea67327cf1e17", "type": "github" }, "original": {