summaryrefslogtreecommitdiffstats
path: root/lib/types.nix
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2021-11-09 07:15:51 +0100
committerJörg Thalheim <joerg@thalheim.io>2021-11-23 17:44:50 +0100
commit87b7045f53687683364e7d422edcb1d167a8c2ad (patch)
treea158b2da46170279f509e0cbc06e215079c100d8 /lib/types.nix
parenta36a09931eff394046d7b1268fb7b72d1f458b1a (diff)
mic92: add dns name to sandro's machine
Diffstat (limited to 'lib/types.nix')
-rw-r--r--lib/types.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 6755eef03..b6c266c33 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -113,7 +113,7 @@ rec {
default = null;
};
addrs = mkOption {
- type = listOf addr;
+ type = listOf (either addr str);
default =
optional (config.ip4 != null) config.ip4.addr ++
optional (config.ip6 != null) config.ip6.addr;