14 lines
429 B
Nix
14 lines
429 B
Nix
|
{ ... }:
|
||
|
{
|
||
|
# Mount arch linux partition (encrypted with keyfile at NixOS /root/keyfiles/arch.key)
|
||
|
fileSystems."/mnt/arch" = {
|
||
|
device = "/dev/mapper/arch";
|
||
|
fsType = "btrfs";
|
||
|
encrypted = {
|
||
|
enable = true;
|
||
|
blkDev = "/dev/disk/by-uuid/60b6f21d-85b2-4d4b-90f4-38612138eeec";
|
||
|
keyFile = "/sysroot/root/keyfiles/arch.key";
|
||
|
label = "arch";
|
||
|
};
|
||
|
};
|
||
|
}
|