add monero miner
This commit is contained in:
parent
0bf31f6699
commit
76266ac03e
@ -17,10 +17,12 @@ in
|
|||||||
{
|
{
|
||||||
flake.nixosConfigurations = {
|
flake.nixosConfigurations = {
|
||||||
nova = novaConfig [ mods.ivand ];
|
nova = novaConfig [ mods.ivand ];
|
||||||
nova-music = novaConfig (with mods; [ music ivand ]);
|
nova-music = novaConfig (with mods; [ ivand music ]);
|
||||||
nova-nonya = novaConfig (with mods; [ anon cryptocurrency ivand ]);
|
nova-crypto = novaConfig (with mods; [ ivand cryptocurrency ]);
|
||||||
nova-ai = novaConfig (with mods; [ ai ivand ]);
|
nova-nonya = novaConfig (with mods; [ ivand anon cryptocurrency ]);
|
||||||
|
nova-ai = novaConfig (with mods; [ ivand ai ]);
|
||||||
install-iso = configWithModules { modules = (with mods; [ grub base shell wireless ]); };
|
install-iso = configWithModules { modules = (with mods; [ grub base shell wireless ]); };
|
||||||
vps = configWithModules { modules = (with mods; [ base shell security vps ]); };
|
vps = configWithModules { modules = (with mods; [ base shell security vps ]); };
|
||||||
|
stara-miner = configWithModules { modules = (with mods; [ base shell security monero-miner ]); };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -215,6 +215,27 @@ top@{ inputs, moduleWithSystem, ... }: {
|
|||||||
environment.systemPackages = with pkgs; [ monero-cli ];
|
environment.systemPackages = with pkgs; [ monero-cli ];
|
||||||
services = { monero.enable = true; };
|
services = { monero.enable = true; };
|
||||||
});
|
});
|
||||||
|
monero-miner = moduleWithSystem (toplevel@{ ... }: perSystem@{ ... }: {
|
||||||
|
services = {
|
||||||
|
xmrig = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
autosave = true;
|
||||||
|
cpu = true;
|
||||||
|
opencl = false;
|
||||||
|
cuda = false;
|
||||||
|
pools = [
|
||||||
|
{
|
||||||
|
url = "pool.supportxmr.com:443";
|
||||||
|
user = "48e9t9xvq4M4HBWomz6whiY624YRCPwgJ7LPXngcc8pUHk6hCuR3k6ENpLGDAhPEHWaju8Z4btxkbENpcwaqWcBvLxyh5cn";
|
||||||
|
keepalive = true;
|
||||||
|
tls = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
});
|
||||||
vps = moduleWithSystem (toplevel@{ ... }: perSystem@{ ... }: {
|
vps = moduleWithSystem (toplevel@{ ... }: perSystem@{ ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.vpsadminos.nixosConfigurations.container
|
inputs.vpsadminos.nixosConfigurations.container
|
||||||
|
Loading…
Reference in New Issue
Block a user