From 6e6fa9c599b121fed77377a7ac422e2f725c50e0 Mon Sep 17 00:00:00 2001 From: Toast Date: Tue, 27 Jun 2023 00:26:10 +0200 Subject: [PATCH] Archie: mount root subvolume of ssd --- machines/Archie/hardware-configuration.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/machines/Archie/hardware-configuration.nix b/machines/Archie/hardware-configuration.nix index 3412764..48133e7 100644 --- a/machines/Archie/hardware-configuration.nix +++ b/machines/Archie/hardware-configuration.nix @@ -40,6 +40,19 @@ fsType = "vfat"; }; + /* + Mount the root subvolume of the SSD + This is helpful for getting things from + my old Arch install, as well as for running btdu + */ + fileSystems = { + "/mnt/ssd" = { + device = config.fileSystems."/".device; + fsType = config.fileSystems."/".fsType; + options = [ "subvolid=5" "ro" ]; + }; + }; + swapDevices = [ ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";