From f14435c34c1c1cf4a79d7f8862faa8dda6b244de Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Thu, 4 Jul 2024 22:11:37 +0530 Subject: [PATCH] wynne,layne: mount data if present --- hosts/layne/hardware/filesystem.nix | 6 ++++++ hosts/wynne/hardware/filesystem.nix | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/hosts/layne/hardware/filesystem.nix b/hosts/layne/hardware/filesystem.nix index 80ddeaf..3b9643a 100644 --- a/hosts/layne/hardware/filesystem.nix +++ b/hosts/layne/hardware/filesystem.nix @@ -31,6 +31,12 @@ _: { options = [ "subvol=/" "compress-force=zstd" "noatime" ]; }; + "/mnt/data" = { + device = "/dev/disk/by-partlabel/DATA2"; + fsType = "btrfs"; + options = [ "subvol=/" "compress-force=zstd" "noatime" "nofail" "x-systemd.automount" "x-systemd.device-timeout=5" ]; + }; + "/boot" = { device = "/dev/disk/by-partlabel/LAYNE_BOOT"; fsType = "vfat"; diff --git a/hosts/wynne/hardware/filesystem.nix b/hosts/wynne/hardware/filesystem.nix index 0c02097..7838ef2 100644 --- a/hosts/wynne/hardware/filesystem.nix +++ b/hosts/wynne/hardware/filesystem.nix @@ -31,6 +31,12 @@ _: { options = [ "subvol=/" "compress-force=zstd" "noatime" ]; }; + "/mnt/data" = { + device = "/dev/disk/by-partlabel/DATA1"; + fsType = "btrfs"; + options = [ "subvol=/" "compress-force=zstd" "noatime" "nofail" "x-systemd.automount" "x-systemd.device-timeout=5" ]; + }; + "/boot" = { device = "/dev/disk/by-partlabel/WYNNE_BOOT"; fsType = "vfat";