Archie: mount home subvolume as /home
This commit is contained in:
parent
94a87229f1
commit
60b28ea218
1 changed files with 10 additions and 5 deletions
|
|
@ -39,17 +39,22 @@
|
|||
fsType = "vfat";
|
||||
};
|
||||
|
||||
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
|
||||
*/
|
||||
fileSystems = {
|
||||
"/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 = [ ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue