summaryrefslogtreecommitdiffstats
path: root/lib
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
commit6454cca2b29ee9db2e0a21499aa1ac602e7c3638 (patch)
tree1eb5f9b940132990126423da43bf385740c08291 /lib
parent5dd979d54ca902ab317b6324ab8bdec67364b4e3 (diff)
mic92: add dns name to sandro's machine
Diffstat (limited to 'lib')
-rw-r--r--lib/types.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 6755eef..b6c266c 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;