From a891f1995229bea3b297b4b34c674bcb9f60dcae Mon Sep 17 00:00:00 2001 From: Mel Date: Wed, 13 Nov 2024 22:09:37 +0100 Subject: Mount lapin /srv to a regrowable volume Signed-off-by: Mel --- machines/lapin/devices.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'machines/lapin') diff --git a/machines/lapin/devices.nix b/machines/lapin/devices.nix index f7538a3..6bbece8 100644 --- a/machines/lapin/devices.nix +++ b/machines/lapin/devices.nix @@ -43,4 +43,13 @@ { base = "fc00:d0c::/32"; size = 48; } ]; }; + + fileSystems = { + # Mount the large-ish service state folder to a regrowable volume. :) + "/srv" = { + device = "/dev/disk/by-id/scsi-0HC_Volume_101611810"; + fsType = "ext4"; + options = [ "defaults" "discard" ]; + }; + }; } -- cgit 1.4.1