{}: rec { # 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}"; }