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