xmrig: switch to p2pool
This commit is contained in:
@@ -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;
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user