nixos/cpuminer-cryptonight: use more accurate int types

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

View file

@ -43,7 +43,7 @@ in
description = "Password for mining server";
};
threads = lib.mkOption {
type = lib.types.int;
type = lib.types.ints.unsigned;
default = 0;
description = "Number of miner threads, defaults to available processors";
};