!oNSIfazDqEcwhcOjSL:matrix.org

disko

401 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko108 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
12 Dec 2024
@kagehisa:matrix.orgkagehisa Hi, I'm having a bit of an unusual question in regards to the LUKS option passowrdFile. Is it somehow possible to let the passworFile be used by a postCreateHook?
In my special case it would be to call systemd-cryptenroll --unlock-key-file=<path to file> ....
08:12:17
@kagehisa:matrix.orgkagehisa I have tried using the keyfile path directly in the hook but as far as I understand this doesn't work. Especially when I look at the ouptut of nixos-anywhere it seems the passwordFile is read in and then distributed by an internal mechanism (haven't found the code bits for that) to something like this: --key-file /dev/fd/63 08:17:53

Show newer messages


Back to Room ListRoom Version: 10