| 18 Apr 2026 |
sss | * and it is complicated yes, but due to a long history of data storage | 01:31:42 |
ElvishJerricco | Then yea, just specifying the three boot.initrd.luks.devices.{a,b,c} with keyFile = "/key-file:${otherDrive}"; should work, where otherDrive is anything you'd use as a device like UUID=asdf or /dev/mapper/blah | 01:31:59 |
sss | probably i will recreate it in a simple way, someday, maybe.... | 01:32:08 |
sss | is here a way to wait for device to appear ? | 01:32:56 |
ElvishJerricco | It will do that automatically | 01:33:10 |
sss | nice, thx for info | 01:33:23 |
ElvishJerricco | happy to help :) | 01:33:29 |
sss | is it possible to pass mount options for fs containing decryption key ? | 01:40:03 |
sss | i have keys on jfs wich is not mounting with defaults for some long time forgotten reason | 01:40:35 |
ElvishJerricco | oh hm, maybe not | 01:41:03 |
ElvishJerricco | uhhh | 01:41:13 |
sss | which fs today is most apropriate to handle keys on small device (few mb) ? | 01:41:51 |
ElvishJerricco | honestly when the FS is just for storing one key, I question if it should even be an FS; you could just use the partition itself as the key "file" | 01:44:12 |
sss | * which fs today is most appropriate to handle keys on small device (few mb) ? | 01:42:56 |
sss | probably, but will keyFile understand it without custom script ? | 01:46:31 |
ElvishJerricco | yes, at least with systemd initrd I know it will | 01:46:49 |
sss | sounds interesting, where can i read about syntax ? | 01:47:47 |
ElvishJerricco | well, basically the whole boot.initrd.luks.devices.<name> thing in NixOS is a frontend for /etc/crypttab, which has a man page | 01:48:32 |
ElvishJerricco | er, in systemd initrd | 01:48:40 |
ElvishJerricco | (in scripted initrd boot.initrd.luks.devices.<name> is a frontend for a bunch of scripting) | 01:49:02 |
sss | so keyFile parameter is key-file from crypttab in case of systemd setup ? | 01:52:54 |
ElvishJerricco | yep | 01:53:10 |
sss | understood, thx | 01:53:16 |
| phobos joined the room. | 06:20:04 |
| Nulani t'Acraya joined the room. | 09:21:36 |
| qweru joined the room. | 20:15:24 |
| 20 Apr 2026 |
| Four changed their display name from bivsk to Four. | 14:16:37 |
| 21 Apr 2026 |
sss | ElvishJerricco it seems systemd is able to guess correct mount options for my jfs partitions with a keys (or maybe problem resolved in kernel fs implementation) so now i have working simplified config | 11:26:19 |
ElvishJerricco | sss: oh, neat. I'm guessing it's util-linux's mount that's doing any magic mount options then, but who knows | 14:09:29 |
| 22 Apr 2026 |
| Hadi 🤒 changed their display name from Hadi to Hadi 🤒. | 18:11:37 |