From 3b23aea3741e9e3d701d39789819f56e0f4f29ab Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Fri, 20 Mar 2026 14:04:15 -0400 Subject: [PATCH] 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. --- modules/zfs.nix | 20 ++++++++++++++++++++ services/monero.nix | 2 +- services/p2pool.nix | 2 +- 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/modules/zfs.nix b/modules/zfs.nix index 5d7478a..07d72f7 100644 --- a/modules/zfs.nix +++ b/modules/zfs.nix @@ -50,6 +50,26 @@ 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}" = { recursive = true; autoprune = true; diff --git a/services/monero.nix b/services/monero.nix index e7820ea..6556ce5 100644 --- a/services/monero.nix +++ b/services/monero.nix @@ -5,7 +5,7 @@ }: { imports = [ - (lib.serviceMountWithZpool "monero" service_configs.zpool_hdds [ + (lib.serviceMountWithZpool "monero" service_configs.zpool_ssds [ service_configs.monero.dataDir ]) (lib.serviceFilePerms "monero" [ diff --git a/services/p2pool.nix b/services/p2pool.nix index e2d22ef..3cc07b8 100644 --- a/services/p2pool.nix +++ b/services/p2pool.nix @@ -9,7 +9,7 @@ let in { imports = [ - (lib.serviceMountWithZpool "p2pool" service_configs.zpool_hdds [ + (lib.serviceMountWithZpool "p2pool" service_configs.zpool_ssds [ service_configs.p2pool.dataDir ]) (lib.serviceFilePerms "p2pool" [