nixos/freenet: use more accurate int types

This commit is contained in:
h7x4
2025-09-22 15:57:21 +02:00
parent 2a3f551195
commit 8c0bf2ac68

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