chia: move database to ssd
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Jake Hillion 2023-09-14 22:48:52 +01:00
parent 6a3a5cd416
commit 754d770e53

View File

@ -41,7 +41,6 @@
enable = true; enable = true;
interval = "Tue, 02:00"; interval = "Tue, 02:00";
}; };
services.sanoid.enable = true;
fileSystems."/mnt/d0".options = [ "x-systemd.mount-timeout=3m" ]; fileSystems."/mnt/d0".options = [ "x-systemd.mount-timeout=3m" ];
fileSystems."/mnt/d1".options = [ "x-systemd.mount-timeout=3m" ]; fileSystems."/mnt/d1".options = [ "x-systemd.mount-timeout=3m" ];
@ -188,20 +187,10 @@
custom.chia = { custom.chia = {
enable = true; enable = true;
openFirewall = true; openFirewall = true;
path = "/data/chia";
keyFile = config.age.secrets."chia/farmer.key".path; keyFile = config.age.secrets."chia/farmer.key".path;
targetAddress = "xch1tl87mjd9zpugs7qy2ysc3j4qlftqlyjn037jywq6v2y4kp22g74qahn6sw"; targetAddress = "xch1tl87mjd9zpugs7qy2ysc3j4qlftqlyjn037jywq6v2y4kp22g74qahn6sw";
plotDirectories = builtins.genList (i: "/mnt/d${toString i}/plots/contract-k32") 3; plotDirectories = builtins.genList (i: "/mnt/d${toString i}/plots/contract-k32") 3;
}; };
services.sanoid.datasets."data/chia" = {
autosnap = true;
autoprune = true;
hourly = 0;
daily = 7;
weekly = 12;
monthly = 6;
};
## Storj ## Storj
age.secrets."storj/auth" = { age.secrets."storj/auth" = {