This commit is contained in:
Henri Dohmen 2025-06-05 22:55:17 +02:00
parent c26cc20f57
commit d53e340966
8 changed files with 93 additions and 36 deletions

View file

@ -8,7 +8,7 @@ let
}) var.wg.ips;
in
rec {
hostsFile = lib.concatStringsSep "\n" (lib.mapAttrsFlatten (n: v: "${v}\t${n}") hosts);
hostsFile = lib.concatStringsSep "\n" (lib.mapAttrsToList (n: v: "${v}\t${n}") hosts);
hosts =
lan-hosts
// lib.mapAttrs' (name: value: {