{ ... }: rec { # Mountpoints mountpoint = "/usb"; # Partition Labels encrypted_partlabel = "usb"; unencrypted_label = "usb_unencrypted"; # Partition Filesystems unencrypted_fs_type = "ext4"; # Mapper Information mapper_name = "usb_unencrypted"; # FS Paths encrypted_path = "/dev/disk/by-partlabel/${encrypted_partlabel}"; unencrypted_path = "/dev/disk/by-label/${unencrypted_label}"; mapper_path = "/dev/mapper/${mapper_name}"; # Paths to some important files lappy_encryption_key_path = "${mountpoint}/encryption-keys/lappy.key"; }