summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2021-11-26 14:12:34 +0100
committermakefu <github@syntax-fehler.de>2021-11-26 14:12:34 +0100
commit463dc7ea67a3eb0c327dcffb6457581778c6e6b2 (patch)
tree9c0e240cee1e8f2c5b7d5aed667a774b5676d5cc /lib
parent44d45e7c2c62e3298cf6c7459d37d4de27cbbf20 (diff)
parenta87fa2d11da05c304c6b9563dcc11538534101ea (diff)
Merge remote-tracking branch 'lass/master'
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 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;