From 9a9c63a3920a9f740ea393d2a130e872a3097741 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 13 Jun 2022 22:34:15 +0200 Subject: [PATCH] hosts/TITAN: move IPFS to new disk --- hosts/TITAN/hardware-configuration.nix | 5 +++++ modules/persistence/default.nix | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/hosts/TITAN/hardware-configuration.nix b/hosts/TITAN/hardware-configuration.nix index b8c633b..358bdee 100644 --- a/hosts/TITAN/hardware-configuration.nix +++ b/hosts/TITAN/hardware-configuration.nix @@ -35,6 +35,11 @@ fsType = "btrfs"; }; + fileSystems."/srv/freezer" = { + device = "/dev/mapper/tank-freezer"; + fsType = "xfs"; + }; + fileSystems."/nix" = { device = "/dev/disk/by-partlabel/nixstore"; fsType = "xfs"; diff --git a/modules/persistence/default.nix b/modules/persistence/default.nix index 3958152..0f2f6cf 100644 --- a/modules/persistence/default.nix +++ b/modules/persistence/default.nix @@ -13,7 +13,7 @@ } ]; - services.ipfs.dataDir = "/persist/ipfs"; + services.ipfs.dataDir = "/srv/freezer/ipfs"; services.lidarr.dataDir = "/persist/db/lidarr"; services.jackett.dataDir = "/persist/db/jackett";