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" [