From 192b1362596256a19ba38a3873eb29bfc3b8f756 Mon Sep 17 00:00:00 2001 From: Toast Date: Mon, 19 Feb 2024 23:05:15 +0100 Subject: [PATCH 1/2] Machines/Everest: mount root subvolume --- machines/Everest/hardware-configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/machines/Everest/hardware-configuration.nix b/machines/Everest/hardware-configuration.nix index ba3f567..0f6afe4 100755 --- a/machines/Everest/hardware-configuration.nix +++ b/machines/Everest/hardware-configuration.nix @@ -29,6 +29,11 @@ fsType = "btrfs"; options = [ "compress=zstd" "subvol=@home" ]; }; + "/mnt/hdd" = { + device = "/dev/disk/by-label/Everest"; + fsType = "btrfs"; + options = [ "compress=zstd" "subvol=/" "ro" ]; + }; }; fileSystems."/boot/efi" = From 26cc28ba41ac34394968ea8f987113ae445baa66 Mon Sep 17 00:00:00 2001 From: Toast Date: Mon, 19 Feb 2024 23:07:38 +0100 Subject: [PATCH 2/2] Machins/Everest: mount persist subvolume --- machines/Everest/hardware-configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/machines/Everest/hardware-configuration.nix b/machines/Everest/hardware-configuration.nix index 0f6afe4..40fc930 100755 --- a/machines/Everest/hardware-configuration.nix +++ b/machines/Everest/hardware-configuration.nix @@ -34,6 +34,11 @@ fsType = "btrfs"; options = [ "compress=zstd" "subvol=/" "ro" ]; }; + "/persist" = { + device = "/dev/disk/by-label/Everest"; + fsType = "btrfs"; + options = [ "compress=zstd" "subvol=@persist" ]; + }; }; fileSystems."/boot/efi" =