17 lines
456 B
Nix
17 lines
456 B
Nix
|
rec {
|
||
|
encryptedLabel = "raspberry_encrypted";
|
||
|
unencryptedLabel = "raspberry_drive";
|
||
|
|
||
|
mapperName = "raspberry_external_drive";
|
||
|
|
||
|
mountpoint = "/external_drive";
|
||
|
|
||
|
encryptedPath = "/dev/disk/by-label/${encryptedLabel}";
|
||
|
unencryptedPath = "/dev/disk/by-label/${unencryptedLabel}";
|
||
|
mapperPath = "/dev/mapper/${mapperName}";
|
||
|
|
||
|
backupsPath = "${mountpoint}/backups";
|
||
|
storagePath = "${mountpoint}/storage";
|
||
|
extrasPath = "${mountpoint}/extras";
|
||
|
}
|