From adccbd9442f81c6bee65ffd00b1ce250bbdc7898 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 22 Sep 2025 15:49:57 +0200 Subject: [PATCH] nixos/cpuminer-cryptonight: use more accurate int types --- nixos/modules/services/misc/cpuminer-cryptonight.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/misc/cpuminer-cryptonight.nix b/nixos/modules/services/misc/cpuminer-cryptonight.nix index adaee2bbb215..a06077497e22 100644 --- a/nixos/modules/services/misc/cpuminer-cryptonight.nix +++ b/nixos/modules/services/misc/cpuminer-cryptonight.nix @@ -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"; };