From 9615339fb25bb06266b59629e80fded59f9d37d7 Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Thu, 9 Jun 2022 01:17:35 +0200 Subject: [PATCH] [Network] Reformat --- network.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/network.nix b/network.nix index 1f64ab5..b74e303 100644 --- a/network.nix +++ b/network.nix @@ -32,9 +32,11 @@ in networking.dhcpcd.enable = (cfg.backend == "dhcpcd"); - services.resolved.enable = (cfg.dns == "systemd-resolved"); - services.resolved.llmnr = mkForce "false"; # https://www.blackhillsinfosec.com/how-to-disable-llmnr-why-you-want-to/ - services.resolved.dnssec = "false"; # Causes issues with masquerading DNS + services.resolved = { + enable = (cfg.dns == "systemd-resolved"); + llmnr = mkForce "false"; # https://www.blackhillsinfosec.com/how-to-disable-llmnr-why-you-want-to/ + dnssec = "false"; # Causes issues with masquerading DNS + }; services.unbound.enable = (cfg.dns == "unbound");