From a3b4f74efb53c129a368a95d53dd55ea0aa9f154 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vili=20Sinerv=C3=A4?= Date: Sun, 6 Jul 2025 13:12:22 +0300 Subject: [PATCH] Fix Hetzner IP regex --- modules/platform/hetzner.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/platform/hetzner.nix b/modules/platform/hetzner.nix index 29a9355..a51b916 100644 --- a/modules/platform/hetzner.nix +++ b/modules/platform/hetzner.nix @@ -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 {