From ee38adc8e2fa43ab2f8553cf47205ff750c81abf Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Fri, 14 Jul 2023 20:52:48 +0000 Subject: [PATCH] keepalived: use `ints.between` Signed-off-by: Arthur Gautier --- .../services/networking/keepalived/vrrp-instance-options.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/keepalived/vrrp-instance-options.nix b/nixos/modules/services/networking/keepalived/vrrp-instance-options.nix index 5d69963d2047..35401d439a91 100644 --- a/nixos/modules/services/networking/keepalived/vrrp-instance-options.nix +++ b/nixos/modules/services/networking/keepalived/vrrp-instance-options.nix @@ -22,7 +22,7 @@ with lib; }; virtualRouterId = mkOption { - type = types.int; + type = types.ints.between 1 255; description = lib.mdDoc '' Arbitrary unique number 1..255. Used to differentiate multiple instances of vrrpd running on the same NIC (and hence same socket).