nixos-configuration/hosts/vinzenz-pc2/fstab.nix

38 lines
919 B
Nix
Raw Permalink Normal View History

2024-10-26 17:30:11 +02:00
{
"/" = {
device = "/dev/disk/by-uuid/0e9c983a-e733-447e-8181-f41d6670c4b8";
fsType = "btrfs";
2024-10-27 12:33:35 +01:00
options = [ "subvol=@" ];
2024-10-26 17:30:11 +02:00
};
"/home" = {
device = "/dev/disk/by-uuid/0e9c983a-e733-447e-8181-f41d6670c4b8";
fsType = "btrfs";
2024-10-27 12:33:35 +01:00
options = [ "subvol=@home" ];
2024-10-26 17:30:11 +02:00
};
"/games" = {
device = "/dev/disk/by-uuid/0e9c983a-e733-447e-8181-f41d6670c4b8";
fsType = "btrfs";
2024-10-27 12:33:35 +01:00
options = [ "subvol=@games" ];
2024-10-26 17:30:11 +02:00
};
"/boot" = {
device = "/dev/disk/by-uuid/AF67-8F16";
fsType = "vfat";
};
"/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";
2024-10-27 12:33:35 +01:00
options = [ "subvolid=5" ];
2024-10-26 17:30:11 +02:00
};
"/mnt/ssd2" = {
device = "/dev/disk/by-uuid/6b2a647d-c68e-4c07-85bf-c9bfc5db7e8a";
fsType = "ext4";
};
}