mount btrfs root subvol

This commit is contained in:
Vinzenz Schroeter 2023-09-05 19:24:39 +02:00
parent a75d5f54d8
commit 7a5297a0dd

View file

@ -42,6 +42,14 @@
options = ["subvol=@games"]; options = ["subvol=@games"];
}; };
"/mnt/nixos_btrfs_root" = {
# subvolume with id 5 is always the root volume
# this is convenient for managing the flat subvolume hierarchy
device = "/dev/disk/by-uuid/0e9c983a-e733-447e-8181-f41d6670c4b8";
fsType = "btrfs";
options = ["subvolid=5"];
};
"/boot" = { "/boot" = {
device = "/dev/disk/by-uuid/AF67-8F16"; device = "/dev/disk/by-uuid/AF67-8F16";
fsType = "vfat"; fsType = "vfat";