types.net: normalize IPv6 address
This commit is contained in:
parent
f93e1d466f
commit
79bcfa03ed
@ -103,6 +103,7 @@ rec {
|
||||
options = {
|
||||
addr = mkOption {
|
||||
type = addr6;
|
||||
apply = lib.normalize-ip6-addr;
|
||||
};
|
||||
prefix = mkOption ({
|
||||
type = str; # TODO routing prefix (CIDR)
|
||||
|
Loading…
Reference in New Issue
Block a user