24 lines
492 B
Nix
24 lines
492 B
Nix
![]() |
rec {
|
||
|
# Mountpoints
|
||
|
mountpoint = "/";
|
||
|
bootMountpoint = "/boot";
|
||
|
|
||
|
# Partition Labels
|
||
|
bootLabel = "nixboot";
|
||
|
unencryptedLabel = "nixos";
|
||
|
encryptedPartLabel = "nixos_encrypted";
|
||
|
|
||
|
# Partition Filesystems
|
||
|
unencryptedFSType = "ext4";
|
||
|
bootFSType = "vfat";
|
||
|
|
||
|
# Mapper Name
|
||
|
mapperName = "cryptroot";
|
||
|
|
||
|
# FS Paths
|
||
|
encryptedPath = "/dev/disk/by-partlabel/${encryptedPartLabel}";
|
||
|
decryptedPath = "/dev/mapper/${mapperName}";
|
||
|
|
||
|
bootPath = "/dev/disk/by-label/${bootLabel}";
|
||
|
}
|