I have a problem with this method as you cannot copy the file outside extras tree.
I used: ''cp /my.key $out/key" - the final file is in /nix/store/XXXXX/here (hard to access, if hash will change this stuff stop work. "cp /my.key $out/../../key" or "cp /my.key /key" doesn't work, permission error, so I cannot put key in the root of initrd. Tom 2015-09-09 5:59 GMT+01:00 <[email protected]>: > On Tuesday, September 08, 2015 20:09:16 Tomasz Czyż wrote: > > > Is there any way to add key files to initrd? (I found some "extra" > options > > > for boot partition but not for initrd, maybe there are some hooks I'm not > > > aware of) > > > > boot.initrd.extraUtilsCommands looks like a good match. > > > > -- Evgeny > > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev > > -- Tomasz Czyż
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
