nixos/freenet: use more accurate int types

This commit is contained in:
h7x4 2025-09-22 15:57:21 +02:00
commit 8c0bf2ac68
No known key found for this signature in database
GPG key ID: 9F2F7D8250F35146

View file

@ -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";
};