xmrig: 12 threads

This commit is contained in:
2026-01-26 17:51:16 -05:00
parent a0e6b8428e
commit 27ffe38ed3

View File

@@ -7,7 +7,7 @@
}: }:
let let
walletAddress = lib.strings.trim (builtins.readFile ../secrets/xmrig-wallet); walletAddress = lib.strings.trim (builtins.readFile ../secrets/xmrig-wallet);
threadCount = 2; threadCount = 12;
in in
{ {
services.xmrig = { services.xmrig = {
@@ -20,11 +20,14 @@ in
cpu = { cpu = {
enabled = true; enabled = true;
huge-pages = true; huge-pages = true;
"1gb-pages" = true;
hw-aes = true; hw-aes = true;
rx = lib.range 0 (threadCount - 1); rx = lib.range 0 (threadCount - 1);
}; };
randomx = {
"1gb-pages" = true;
};
opencl = false; opencl = false;
cuda = false; cuda = false;