From 0a97130655dc17485edf5eef3bd1adeddc69f85e Mon Sep 17 00:00:00 2001 From: Henri Dohmen Date: Sat, 31 May 2025 23:41:18 +0200 Subject: [PATCH] fix hosts --- var/lan-dns.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/lan-dns.nix b/var/lan-dns.nix index 39851dd..ce50ff1 100644 --- a/var/lan-dns.nix +++ b/var/lan-dns.nix @@ -8,7 +8,7 @@ let }) var.wg.ips; in rec { - hostsFile = lib.concatStringsSep "\n" (lib.mapAttrsFlatten (n: v: "${n}\t${v}") hosts); + hostsFile = lib.concatStringsSep "\n" (lib.mapAttrsFlatten (n: v: "${v}\t${n}") hosts); hosts = lan-hosts // lib.mapAttrs' (name: value: {