summaryrefslogtreecommitdiffstats
path: root/lib/types.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-04-17 13:15:13 +0200
committermakefu <github@syntax-fehler.de>2017-04-17 13:15:13 +0200
commit35c7e1c37545dd96c90d54191ba835eb0ceeac8e (patch)
tree65db0a2d770654f555fcac74c8e457261054df5d /lib/types.nix
parent9d7e9bf4a9630bb763d7d7bff7880c70405c7ea3 (diff)
parentb6a4df7e398c7b4d7dc4f56d2eded22a79fee30f (diff)
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'lib/types.nix')
-rw-r--r--lib/types.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 8a3c76483..f511541bd 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -103,6 +103,7 @@ rec {
options = {
addr = mkOption {
type = addr6;
+ apply = lib.normalize-ip6-addr;
};
prefix = mkOption ({
type = str; # TODO routing prefix (CIDR)