[Nix-dev] luks changes
Mathijs Kwik
mathijs at bluescreen303.nl
Sat Mar 3 21:50:41 CET 2012
2012/3/3 Lluís Batlle i Rossell <viric at viric.name>:
> Hello people using luksRoot... I changed that a bit on nixos, I hope that for
> the better. I used it to get a ciphered swap that works for hibernation.
>
> If you had:
> boot.initrd.luksRoot = "/dev/sda2";
>
> Then now you have to write:
> boot.initrd.luks.enable = true;
> boot.initrd.luks.devices = [ { name = "luksroot"; device = "/dev/sda2"; } ]
Can you please explain "name" ?
Is that a label that is being searched for?
>
> Luckily nixos-rebuild will let you know about bad syntax before booting anything
> broken.
>
> I don't know if I could have written some kind of deprecated warning while
> keeping the luksRoot syntax, as in rename.nix... I welcome suggestions.
>
> Regards,
> Lluís.
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
More information about the nix-dev
mailing list