parent
3406cbc61b
commit
0711d3d69b
|
@ -59,8 +59,8 @@ with lib;
|
|||
after = [ "network.target" ];
|
||||
description = "XMRig Mining Software Service";
|
||||
serviceConfig = {
|
||||
ExecStartPre = "${cfg.package}/bin/xmrig --config=${configFile} --dry-run";
|
||||
ExecStart = "${cfg.package}/bin/xmrig --config=${configFile}";
|
||||
ExecStartPre = "${lib.getExe cfg.package} --config=${configFile} --dry-run";
|
||||
ExecStart = "${lib.getExe cfg.package} --config=${configFile}";
|
||||
# https://xmrig.com/docs/miner/randomx-optimization-guide/msr
|
||||
# If you use recent XMRig with root privileges (Linux) or admin
|
||||
# privileges (Windows) the miner configure all MSR registers
|
||||
|
|
|
@ -66,6 +66,7 @@ stdenv.mkDerivation rec {
|
|||
description = "Monero (XMR) CPU miner";
|
||||
homepage = "https://github.com/xmrig/xmrig";
|
||||
license = licenses.gpl3Plus;
|
||||
mainProgram = "xmrig";
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ kim0 ];
|
||||
};
|
||||
|
|
|
@ -15,6 +15,7 @@ xmrig.overrideAttrs (oldAttrs: rec {
|
|||
description = "A fork of the XMRig CPU miner with support for algorithm switching";
|
||||
homepage = "https://github.com/MoneroOcean/xmrig";
|
||||
license = licenses.gpl3Plus;
|
||||
mainProgram = "xmrig";
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ j0hax ];
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user