From 132d3f37f378ff9cec1a5c272355c46dae7c6b16 Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Sun, 22 Jun 2025 14:46:07 -0600 Subject: [PATCH] give boot mount preference --- hosts/server/hardware-configuration.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/hosts/server/hardware-configuration.nix b/hosts/server/hardware-configuration.nix index df38fc9..9163186 100644 --- a/hosts/server/hardware-configuration.nix +++ b/hosts/server/hardware-configuration.nix @@ -92,6 +92,15 @@ "datacow" ]; }; + "/boot" = { + device = "/dev/disk/by-uuid/c574cb53-dc40-46db-beff-0fe8a4787156"; + fsType = "ext4"; + options = [ "nofail" ]; + }; + "/boot/efi" = { + device = "/dev/disk/by-uuid/CBE7-5DEB"; + fsType = "vfat"; + }; "/srv/pool" = { device = "/dev/disk/by-uuid/1e7cf787-e34d-4e3e-ac3c-0c07309dbd34"; fsType = "btrfs"; @@ -102,15 +111,7 @@ "commit=120" "datacow" ]; - }; - "/boot" = { - device = "/dev/disk/by-uuid/c574cb53-dc40-46db-beff-0fe8a4787156"; - fsType = "ext4"; - options = [ "nofail" ]; - }; - "/boot/efi" = { - device = "/dev/disk/by-uuid/CBE7-5DEB"; - fsType = "vfat"; + depends = [ "/boot/efi" ]; }; "/var/lib/nextcloud/data" = { device = "/srv/pool/nextcloud";