From 837771c8367367e3cb4c4d0e158f5957aae0b70b Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Thu, 30 May 2024 19:26:28 +0200 Subject: [PATCH] Heimdall: raid mount --- instances/heimdall/hardware-configuration.nix | 23 ++++++++++++------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/instances/heimdall/hardware-configuration.nix b/instances/heimdall/hardware-configuration.nix index 4ea128b..52727e7 100644 --- a/instances/heimdall/hardware-configuration.nix +++ b/instances/heimdall/hardware-configuration.nix @@ -15,15 +15,22 @@ extraModulePackages = [ ]; }; - fileSystems."/" = { - device = "/dev/disk/by-uuid/24017c97-041e-460a-9d0e-3e494c91a03e"; - fsType = "btrfs"; - }; + fileSystems = { + "/" = { + device = "/dev/disk/by-uuid/24017c97-041e-460a-9d0e-3e494c91a03e"; + fsType = "btrfs"; + }; - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/7F42-D513"; - fsType = "vfat"; - options = [ "fmask=0022" "dmask=0022" ]; + "/mnt/raid" = { + device = "/dev/disk/by-uuid/d3d487e9-4ed8-4a1e-9abc-ebb0c1dc80d9"; + fsType = "btrfs"; + }; + + "/boot" = { + device = "/dev/disk/by-uuid/7F42-D513"; + fsType = "vfat"; + options = [ "fmask=0022" "dmask=0022" ]; + }; }; swapDevices = [ ];