From 3d6766f35768b0eba5674d5f6cd80976aeb472d7 Mon Sep 17 00:00:00 2001 From: Jake Hillion Date: Thu, 27 Jul 2023 18:17:13 +0100 Subject: [PATCH] tywin: mount mnt/d2 --- hosts/tywin.storage.ts.hillion.co.uk/default.nix | 3 ++- .../hardware-configuration.nix | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/hosts/tywin.storage.ts.hillion.co.uk/default.nix b/hosts/tywin.storage.ts.hillion.co.uk/default.nix index 6a1a0b2..9302891 100644 --- a/hosts/tywin.storage.ts.hillion.co.uk/default.nix +++ b/hosts/tywin.storage.ts.hillion.co.uk/default.nix @@ -45,6 +45,7 @@ fileSystems."/mnt/d0".options = [ "x-systemd.mount-timeout=3m" ]; fileSystems."/mnt/d1".options = [ "x-systemd.mount-timeout=3m" ]; + fileSystems."/mnt/d2".options = [ "x-systemd.mount-timeout=3m" ]; ## Backups ### Git @@ -189,7 +190,7 @@ path = "/data/chia"; keyFile = config.age.secrets."chia/farmer.key".path; targetAddress = "xch1tl87mjd9zpugs7qy2ysc3j4qlftqlyjn037jywq6v2y4kp22g74qahn6sw"; - plotDirectories = builtins.genList (i: "/mnt/d${toString i}/plots/contract-k32") 2; + plotDirectories = builtins.genList (i: "/mnt/d${toString i}/plots/contract-k32") 3; }; services.sanoid.datasets."data/chia" = { autosnap = true; diff --git a/hosts/tywin.storage.ts.hillion.co.uk/hardware-configuration.nix b/hosts/tywin.storage.ts.hillion.co.uk/hardware-configuration.nix index 4f27d77..ec6da18 100644 --- a/hosts/tywin.storage.ts.hillion.co.uk/hardware-configuration.nix +++ b/hosts/tywin.storage.ts.hillion.co.uk/hardware-configuration.nix @@ -38,6 +38,12 @@ fsType = "btrfs"; }; + fileSystems."/mnt/d2" = + { + device = "/dev/disk/by-uuid/a55d164e-b48e-4a4e-b073-d0768662d3d0"; + fsType = "btrfs"; + }; + swapDevices = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking