seperate home volume

This commit is contained in:
Vinzenz Schroeter 2023-09-06 22:01:29 +02:00
parent c12681a757
commit 2dd3032a02
2 changed files with 13 additions and 6 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.directory

View file

@ -36,12 +36,23 @@
options = ["subvol=@"]; options = ["subvol=@"];
}; };
"/home" = {
device = "/dev/disk/by-uuid/0e9c983a-e733-447e-8181-f41d6670c4b8";
fsType = "btrfs";
options = ["subvol=@home"];
};
"/games" = { "/games" = {
device = "/dev/disk/by-uuid/0e9c983a-e733-447e-8181-f41d6670c4b8"; device = "/dev/disk/by-uuid/0e9c983a-e733-447e-8181-f41d6670c4b8";
fsType = "btrfs"; fsType = "btrfs";
options = ["subvol=@games"]; options = ["subvol=@games"];
}; };
"/boot" = {
device = "/dev/disk/by-uuid/AF67-8F16";
fsType = "vfat";
};
"/mnt/nixos_btrfs_root" = { "/mnt/nixos_btrfs_root" = {
# subvolume with id 5 is always the root volume # subvolume with id 5 is always the root volume
# this is convenient for managing the flat subvolume hierarchy # this is convenient for managing the flat subvolume hierarchy
@ -50,11 +61,6 @@
options = ["subvolid=5"]; options = ["subvolid=5"];
}; };
"/boot" = {
device = "/dev/disk/by-uuid/AF67-8F16";
fsType = "vfat";
};
"/mnt/ssd2" = { "/mnt/ssd2" = {
device = "/dev/disk/by-uuid/6b2a647d-c68e-4c07-85bf-c9bfc5db7e8a"; device = "/dev/disk/by-uuid/6b2a647d-c68e-4c07-85bf-c9bfc5db7e8a";
fsType = "ext4"; fsType = "ext4";