Fix Hetzner IP regex
This commit is contained in:
parent
76ef3f5c74
commit
a3b4f74efb
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ in
|
|||
default = false;
|
||||
};
|
||||
ipv4Address = lib.mkOption {
|
||||
type = with lib.types; nullOr (strMatching "^[0-9a-zA-Z:]+/32$");
|
||||
type = with lib.types; nullOr (strMatching "^[0-9]+.[0-9]+.[0-9]+.[0-9]+/32$");
|
||||
default = null;
|
||||
};
|
||||
ipv6Address = lib.mkOption {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue