nixos-module/container/dns: allow underscores in dynamic hostnames

This commit is contained in:
Astro 2021-05-06 15:46:16 +02:00
rodič 3e2d8ef2fc
revize 8bc0ce6e15
1 změnil soubory, kde provedl 5 přidání a 0 odebrání

Zobrazit soubor

@ -324,6 +324,11 @@ in
algorithm hmac-sha256;
secret "${inputs.zentralwerk-network-key.lib.dyndnsKey}";
};
# allow underscores in dynamic hostnames
${lib.concatMapStringsSep "\n" (type: ''
check-names ${type} ignore;
'') [ "master" "slave" "response" ]}
'';
});