Archie: mount root subvolume of ssd
This commit is contained in:
parent
87f78bac52
commit
6e6fa9c599
1 changed files with 13 additions and 0 deletions
|
|
@ -40,6 +40,19 @@
|
||||||
fsType = "vfat";
|
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 = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue