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