2022-12-04 13:45:43 +00:00
|
|
|
{}: rec {
|
2022-11-10 11:25:33 +00:00
|
|
|
# Mountpoints
|
|
|
|
root_mountpoint = "/";
|
|
|
|
boot_mountpoint = "/boot";
|
|
|
|
|
|
|
|
# Partition Labels
|
|
|
|
boot_label = "nixboot";
|
|
|
|
unencrypted_root_label = "nixos";
|
|
|
|
encrypted_root_partlabel = "nixos_encrypted";
|
|
|
|
|
|
|
|
# Partition Filesystems
|
|
|
|
unencrypted_root_fs_type = "ext4";
|
|
|
|
boot_fs_type = "vfat";
|
|
|
|
|
|
|
|
# Mapper Name
|
|
|
|
root_mapper_name = "cryptroot";
|
|
|
|
|
|
|
|
# FS Paths
|
|
|
|
encrypted_root_path = "/dev/disk/by-partlabel/${encrypted_root_partlabel}";
|
|
|
|
decrypted_root_path = "/dev/mapper/${root_mapper_name}";
|
|
|
|
|
|
|
|
boot_path = "/dev/disk/by-label/${boot_label}";
|
|
|
|
}
|