2012/3/3 Lluís Batlle i Rossell <[email protected]>: > 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 > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
