From 8c0bf2ac68b6ab8614d8718dbad70630b6ed0151 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 22 Sep 2025 15:57:21 +0200 Subject: [PATCH] nixos/freenet: use more accurate int types --- nixos/modules/services/networking/freenet.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/freenet.nix b/nixos/modules/services/networking/freenet.nix index a0c67796377b..c95eb5d271af 100644 --- a/nixos/modules/services/networking/freenet.nix +++ b/nixos/modules/services/networking/freenet.nix @@ -15,7 +15,7 @@ in enable = lib.mkEnableOption "Freenet daemon"; nice = lib.mkOption { - type = lib.types.int; + type = lib.types.ints.between (-20) 19; default = 10; description = "Set the nice level for the Freenet daemon"; };