diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2021-11-09 07:15:51 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2021-11-23 17:44:50 +0100 |
commit | 6454cca2b29ee9db2e0a21499aa1ac602e7c3638 (patch) | |
tree | 1eb5f9b940132990126423da43bf385740c08291 | |
parent | 5dd979d54ca902ab317b6324ab8bdec67364b4e3 (diff) |
mic92: add dns name to sandro's machine
-rw-r--r-- | lib/types.nix | 2 |
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; |