From 60b28ea21869ebd6018c909a4cf914491ada5658 Mon Sep 17 00:00:00 2001 From: Toast Date: Mon, 28 Aug 2023 14:01:48 +0200 Subject: [PATCH] Archie: mount home subvolume as /home --- machines/Archie/hardware-configuration.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/machines/Archie/hardware-configuration.nix b/machines/Archie/hardware-configuration.nix index 7860798..cc53c64 100644 --- a/machines/Archie/hardware-configuration.nix +++ b/machines/Archie/hardware-configuration.nix @@ -39,17 +39,22 @@ 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 = { + /* + Mount the root subvolume of the SSD + This is helpful for getting things from + my old Arch install, as well as for running btdu + */ "/mnt/ssd" = { device = config.fileSystems."/".device; fsType = config.fileSystems."/".fsType; options = [ "subvolid=5" "ro" ]; }; + "/home" = { + device = "/dev/disk/by-uuid/5322c217-b87b-4150-8b4c-a8fa17a899bf"; + fsType = "btrfs"; + options = [ "subvol=@home" "compress=zstd" ]; + }; }; swapDevices = [ ];