nix-system/os/hs/disks.nix
2025-06-10 22:43:26 +02:00

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";
};
}