diff options
| author | Leonardo <noreply@leoflo.me> | 2025-12-26 11:39:18 +0100 |
|---|---|---|
| committer | Leonardo <noreply@leoflo.me> | 2025-12-26 11:49:57 +0100 |
| commit | c2ff75169d32600f671c3f6ea0da2e268779f0a3 (patch) | |
| tree | 1566dbbda975db69e2175fa6ca65f977fdd5bd02 | |
| parent | c5c33a9507941127d0dacd4676e94526759d16c2 (diff) | |
| download | nixos-c2ff75169d32600f671c3f6ea0da2e268779f0a3.tar.gz nixos-c2ff75169d32600f671c3f6ea0da2e268779f0a3.zip | |
xmrig :D
| -rw-r--r-- | odino/nixos/services/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/odino/nixos/services/default.nix b/odino/nixos/services/default.nix index eeabc7c..d493edd 100644 --- a/odino/nixos/services/default.nix +++ b/odino/nixos/services/default.nix @@ -9,4 +9,25 @@ PrintMotd = false; }; }; + + # XMRig + services.xmrig = { + enable = true; + + settings = { + autosave = true; + cpu = true; + opencl = false; + cuda = false; + pools = [ + { + algo = "rx/0"; + url = "xmr-eu1.nanopool.org:10343"; + user = "89erpoKiHuXbw1e1t8UZjNT1AX1Y9z1pta3f6akwG8okZSaLvFQ1eCJ4ih3tSH4Q9BPqHua3vfn6w1ZjQ98TQQHx5GHaRqf"; + keepalive = true; + tls = true; + } + ]; + }; + }; } |
