nixos/freenet: use more accurate int types
This commit is contained in:
@@ -15,7 +15,7 @@ in
|
|||||||
enable = lib.mkEnableOption "Freenet daemon";
|
enable = lib.mkEnableOption "Freenet daemon";
|
||||||
|
|
||||||
nice = lib.mkOption {
|
nice = lib.mkOption {
|
||||||
type = lib.types.int;
|
type = lib.types.ints.between (-20) 19;
|
||||||
default = 10;
|
default = 10;
|
||||||
description = "Set the nice level for the Freenet daemon";
|
description = "Set the nice level for the Freenet daemon";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user