chia: move database to ssd
This commit is contained in:
parent
6a3a5cd416
commit
754d770e53
@ -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" = {
|
||||||
|
Loading…
Reference in New Issue
Block a user