mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-06 21:17:14 -06:00
chore: adjusted resources
This commit is contained in:
parent
b9bc92a168
commit
4e1b0d5874
2 changed files with 14 additions and 3 deletions
|
|
@ -41,7 +41,7 @@ in
|
|||
autostart = true;
|
||||
config =
|
||||
let
|
||||
ceresCpu = 35;
|
||||
ceresCpu = 28;
|
||||
erisCpu = 5;
|
||||
marsCpu = 18;
|
||||
deimosCpu = 4;
|
||||
|
|
@ -76,7 +76,7 @@ in
|
|||
mem =
|
||||
let
|
||||
num = num: (num * 1024);
|
||||
ceresRam = num 50;
|
||||
ceresRam = num 45;
|
||||
erisRam = num 7;
|
||||
marsRam = num 30;
|
||||
deimosRam = num 7;
|
||||
|
|
|
|||
|
|
@ -2,12 +2,23 @@
|
|||
imports = [
|
||||
./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 = {
|
||||
enable = true;
|
||||
dataDir = "/var/lib/gpu-miner";
|
||||
consolidateAddress = "addr1q87k2jlckh6ujqx4ymkdd4jrhy6gukdtum0p77pdh5gqcw8ctl65fvaw097l32ta6m8hth3xu9cjfz70y34gs2mdfzlsj465th";
|
||||
maxWorkers = 12;
|
||||
batchSize = 5000000;
|
||||
gpuDeviceId = 0;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue