nix/hosts/laptop/config/mounts.nix

14 lines
429 B
Nix
Raw Permalink Normal View History

2024-12-02 03:57:34 -07:00
{ ... }:
{
# 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";
};
};
}