From 4afb37d730742e1652847d0e358234e2024f7cb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Sun, 1 Feb 2026 20:37:36 +0100 Subject: [PATCH] create-host: enable resolved in configuration.nix.j2 --- hosts/vault01/configuration.nix | 2 +- scripts/create-host/templates/configuration.nix.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/vault01/configuration.nix b/hosts/vault01/configuration.nix index a743fe7..d253a38 100644 --- a/hosts/vault01/configuration.nix +++ b/hosts/vault01/configuration.nix @@ -22,7 +22,7 @@ networking.domain = "home.2rjus.net"; networking.useNetworkd = true; networking.useDHCP = false; - services.resolved.enable = false; + services.resolved.enable = true; networking.nameservers = [ "10.69.13.5" "10.69.13.6" diff --git a/scripts/create-host/templates/configuration.nix.j2 b/scripts/create-host/templates/configuration.nix.j2 index 30e830f..4135a5e 100644 --- a/scripts/create-host/templates/configuration.nix.j2 +++ b/scripts/create-host/templates/configuration.nix.j2 @@ -21,7 +21,7 @@ networking.domain = "{{ domain }}"; networking.useNetworkd = true; networking.useDHCP = false; - services.resolved.enable = false; + services.resolved.enable = true; networking.nameservers = [ {% for ns in nameservers %} "{{ ns }}"