chore: adjusted resources

This commit is contained in:
Nick 2025-12-01 03:26:20 -06:00
parent b9bc92a168
commit 4e1b0d5874
2 changed files with 14 additions and 3 deletions

View file

@ -41,7 +41,7 @@ in
autostart = true; autostart = true;
config = config =
let let
ceresCpu = 35; ceresCpu = 28;
erisCpu = 5; erisCpu = 5;
marsCpu = 18; marsCpu = 18;
deimosCpu = 4; deimosCpu = 4;
@ -76,7 +76,7 @@ in
mem = mem =
let let
num = num: (num * 1024); num = num: (num * 1024);
ceresRam = num 50; ceresRam = num 45;
erisRam = num 7; erisRam = num 7;
marsRam = num 30; marsRam = num 30;
deimosRam = num 7; deimosRam = num 7;

View file

@ -2,12 +2,23 @@
imports = [ imports = [
./config ./config
]; ];
nix.settings = {
substituters = [
"https://cache.nixos.org"
"https://cuda-maintainers.cachix.org"
];
trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
];
};
services.gpu-miner = { services.gpu-miner = {
enable = true; enable = true;
dataDir = "/var/lib/gpu-miner"; dataDir = "/var/lib/gpu-miner";
consolidateAddress = "addr1q87k2jlckh6ujqx4ymkdd4jrhy6gukdtum0p77pdh5gqcw8ctl65fvaw097l32ta6m8hth3xu9cjfz70y34gs2mdfzlsj465th"; consolidateAddress = "addr1q87k2jlckh6ujqx4ymkdd4jrhy6gukdtum0p77pdh5gqcw8ctl65fvaw097l32ta6m8hth3xu9cjfz70y34gs2mdfzlsj465th";
maxWorkers = 12; maxWorkers = 12;
batchSize = 5000000;
gpuDeviceId = 0; gpuDeviceId = 0;
}; };