mount btrfs root volume

feat/kile-v2
Ricard Illa 2022-11-06 13:00:02 +01:00
parent 5f9a3e1df8
commit da08d77dc1
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
2 changed files with 19 additions and 0 deletions

View File

@ -16,6 +16,13 @@ in {
};
fileSystems = {
"/mnt/btr_root" = {
device = "/dev/mapper/root";
fsType = "btrfs";
options = [ "subvolid=5" "compress=zstd" ];
};
"/persist" = {
device = "/dev/mapper/root";
fsType = "btrfs";

View File

@ -20,6 +20,18 @@ in {
fsType = "vfat";
};
"/mnt/btr_system" = {
device = "/dev/mapper/system";
fsType = "btrfs";
options = [ "subvolid=5" "compress=zstd" ];
};
"/mnt/btr_user" = {
device = "/dev/mapper/user";
fsType = "btrfs";
options = [ "subvolid=5" "compress=zstd" ];
};
"/persist" = {
device = "/dev/mapper/user";
fsType = "btrfs";