10 lines
274 B
Nix
10 lines
274 B
Nix
{ config, pkgs, ... }: {
|
|
environment.etc.crypttab.text = ''
|
|
cryptstorage UUID=25ba8562-0029-4802-9a98-a6a1d51637d3 /root/disk1_key
|
|
'';
|
|
|
|
fileSystems."/disk1" =
|
|
{ device = "/dev/disk/by-uuid/5143b73f-8474-4467-86b1-73552785c9f9";
|
|
fsType = "ext4";
|
|
};
|
|
}
|