monero+p2pool: move to ssds

I tried running these on my hdd array because I have more storage there
but it is WAY too slow. So I need to have it on the ssds instead, as much
as it pains me to use my valuable ssd space.
This commit is contained in:
2026-03-20 14:04:15 -04:00
parent e56456d7b2
commit 3b23aea374
3 changed files with 22 additions and 2 deletions

View File

@@ -50,6 +50,26 @@
yearly = 0; yearly = 0;
}; };
datasets."${service_configs.zpool_ssds}/services/monero" = {
recursive = true;
autoprune = true;
autosnap = true;
hourly = 0;
daily = 0;
monthly = 0;
yearly = 0;
};
datasets."${service_configs.zpool_ssds}/services/p2pool" = {
recursive = true;
autoprune = true;
autosnap = true;
hourly = 0;
daily = 0;
monthly = 0;
yearly = 0;
};
datasets."${service_configs.zpool_hdds}" = { datasets."${service_configs.zpool_hdds}" = {
recursive = true; recursive = true;
autoprune = true; autoprune = true;

View File

@@ -5,7 +5,7 @@
}: }:
{ {
imports = [ imports = [
(lib.serviceMountWithZpool "monero" service_configs.zpool_hdds [ (lib.serviceMountWithZpool "monero" service_configs.zpool_ssds [
service_configs.monero.dataDir service_configs.monero.dataDir
]) ])
(lib.serviceFilePerms "monero" [ (lib.serviceFilePerms "monero" [

View File

@@ -9,7 +9,7 @@ let
in in
{ {
imports = [ imports = [
(lib.serviceMountWithZpool "p2pool" service_configs.zpool_hdds [ (lib.serviceMountWithZpool "p2pool" service_configs.zpool_ssds [
service_configs.p2pool.dataDir service_configs.p2pool.dataDir
]) ])
(lib.serviceFilePerms "p2pool" [ (lib.serviceFilePerms "p2pool" [