Archie: mount root subvolume of ssd

This commit is contained in:
Toast 2023-06-27 00:26:10 +02:00
parent 87f78bac52
commit 6e6fa9c599

View file

@ -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";