From 4f2df1ce507451eab307dd0c232a6154856854c0 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Wed, 8 Apr 2026 12:39:44 -0400 Subject: [PATCH] update dns --- clients/quadraticserver/restart.nix | 16 ++++++++-------- flake.lock | 16 ++++++++-------- modules/common/dns.nix | 6 +++++- 3 files changed, 21 insertions(+), 17 deletions(-) diff --git a/clients/quadraticserver/restart.nix b/clients/quadraticserver/restart.nix index 903bc5d..79bdf77 100644 --- a/clients/quadraticserver/restart.nix +++ b/clients/quadraticserver/restart.nix @@ -1,10 +1,10 @@ { - systemd.timers.reboot = { - wantedBy = [ "timers.target" ]; - timerConfig = { - OnCalendar = "*-*-* 02:00:00"; - Persistent = true; - Unit = "reboot.target"; - }; - }; + # systemd.timers.reboot = { + # wantedBy = [ "timers.target" ]; + # timerConfig = { + # OnCalendar = "*-*-* 02:00:00"; + # Persistent = true; + # Unit = "reboot.target"; + # }; + # }; } diff --git a/flake.lock b/flake.lock index 197f607..7a6b833 100644 --- a/flake.lock +++ b/flake.lock @@ -355,11 +355,11 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1775229181, - "narHash": "sha256-TZTrZ2aSY/L5n14Gsf+Nu20wPxWr1Fwa4tRQFyIjalo=", + "lastModified": 1775587286, + "narHash": "sha256-XLEqF6CRWna1V6JIF3lcMJl0+MuUyIydtO/Kw0feV9E=", "ref": "quad/chore/simplify-nix", - "rev": "7bbe31adeea8090e2b9b05d37dc943f12ebee004", - "revCount": 6420, + "rev": "18542fe3eaf6338b970050efef722b3c38cb898a", + "revCount": 6443, "type": "git", "url": "https://forgejo.ellis.link/Henry-Hiles/continuwuity" }, @@ -1666,11 +1666,11 @@ ] }, "locked": { - "lastModified": 1775410379, - "narHash": "sha256-O3Rb6JeHeUPxvPVzX4aEzYn7ysmfbCkAvOQj1LlSsWA=", + "lastModified": 1775579286, + "narHash": "sha256-gmwocJ1dVQf3Dr3Y6kAHm4bMQmnnS0syauTrpzyb+Xk=", "ref": "refs/heads/main", - "rev": "aac843d79372dc210ae36fc4a674628440f353a6", - "revCount": 431, + "rev": "624127f3a837b913ab7a0dcace7ba2aa260f2fb9", + "revCount": 448, "submodules": true, "type": "git", "url": "https://git.federated.nexus/Henry-Hiles/nexus" diff --git a/modules/common/dns.nix b/modules/common/dns.nix index b74e250..55c3fbc 100644 --- a/modules/common/dns.nix +++ b/modules/common/dns.nix @@ -2,7 +2,11 @@ { services.dnsproxy = { enable = true; - flags = [ "--cache" ]; + flags = [ + "--cache" + "--cache-size 64M" + "--cache-optimistic" + ]; settings = rec { upstream = [ "https://base.dns.mullvad.net/dns-query" ]; listen-addrs = [ "127.0.0.1" ];