From 9f6b5e43488929eadaaefba91b3ada8b26895a97 Mon Sep 17 00:00:00 2001 From: Jake Hillion Date: Sat, 15 Jul 2023 00:11:07 +0100 Subject: [PATCH] tywin: chia: enable on d1 --- hosts/tywin.storage.ts.hillion.co.uk/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hosts/tywin.storage.ts.hillion.co.uk/default.nix b/hosts/tywin.storage.ts.hillion.co.uk/default.nix index 27ea705..9c2b1cd 100644 --- a/hosts/tywin.storage.ts.hillion.co.uk/default.nix +++ b/hosts/tywin.storage.ts.hillion.co.uk/default.nix @@ -42,6 +42,7 @@ services.sanoid.enable = true; fileSystems."/mnt/d0".options = [ "x-systemd.mount-timeout=3m" ]; + fileSystems."/mnt/d1".options = [ "x-systemd.mount-timeout=3m" ]; ## Backups ### Git @@ -186,9 +187,7 @@ path = "/data/chia"; keyFile = config.age.secrets."chia/farmer.key".path; targetAddress = "xch1tl87mjd9zpugs7qy2ysc3j4qlftqlyjn037jywq6v2y4kp22g74qahn6sw"; - plotDirectories = [ - "/mnt/d0/plots/contract-k32" - ]; + plotDirectories = builtins.genList (i: "/mnt/d${toString i}/plots/contract-k32") 2; }; services.sanoid.datasets."data/chia" = { autosnap = true;