xmrig: switch to p2pool

This commit is contained in:
2026-03-11 11:02:56 -04:00
parent 01dbfc69a5
commit 3e46e16f0f

View File

@@ -2,11 +2,10 @@
config,
lib,
pkgs,
hostname,
service_configs,
...
}:
let
walletAddress = lib.strings.trim (builtins.readFile ../secrets/xmrig-wallet);
threadCount = 12;
in
{
@@ -33,11 +32,8 @@ in
pools = [
{
url = "gulf.moneroocean.stream:20128";
user = walletAddress;
pass = hostname + "~rx/0";
keepalive = true;
tls = true;
url = "127.0.0.1:${builtins.toString service_configs.ports.p2pool_stratum}";
tls = false;
}
];
};