From 9c6a3cf4778cb186b47dfc8f64ca05218ee36a99 Mon Sep 17 00:00:00 2001 From: Noah Pederson Date: Mon, 27 Jul 2026 22:05:26 -0500 Subject: [PATCH] Apply DNS config on switch --- flake.lock | 6 +++--- host-specific/misaki/dnscontrol.nix | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 0328293..6569153 100644 --- a/flake.lock +++ b/flake.lock @@ -638,11 +638,11 @@ ] }, "locked": { - "lastModified": 1785192733, - "narHash": "sha256-1x9YSentFIZdfqYEwlLNj/oL05clWSq3XYbjsDAWRvE=", + "lastModified": 1785207637, + "narHash": "sha256-FlaOYL3HRfH4fPg0fYu71fJINnbcnWaz0KPVGfDgk4I=", "owner": "chiefnoah", "repo": "ngp-nur", - "rev": "0c5c27ac7d734b66bd527854948c9405406fae55", + "rev": "1d7c6e1af87a70a2f54c470bf55958742ffd46f7", "type": "github" }, "original": { diff --git a/host-specific/misaki/dnscontrol.nix b/host-specific/misaki/dnscontrol.nix index 23e18d3..03ed2d8 100644 --- a/host-specific/misaki/dnscontrol.nix +++ b/host-specific/misaki/dnscontrol.nix @@ -16,6 +16,8 @@ in ngp.dnscontrol = { enable = true; + apply.onSwitch = true; + environmentFiles = [ config.age.secrets.acme.path ]; providers.porkbun = { type = "PORKBUN"; @@ -477,4 +479,5 @@ in }; }; }; + } -- 2.51.2