summary refs log tree commit diff
path: root/gnu/bootloader
diff options
context:
space:
mode:
authorTomas Volf <wolf@wolfsden.cz>2024-01-11 18:35:39 +0100
committerLudovic Courtès <ludo@gnu.org>2024-01-14 23:00:03 +0100
commitd082312ef7adfea69c79d30ef947817b39832161 (patch)
treed588cc3cda334c2c08cf08fe311255a5aa56841b /gnu/bootloader
parentdb43edaa0a7eaa0064224b31fbce07469ebeb93e (diff)
downloadguix-d082312ef7adfea69c79d30ef947817b39832161.tar.gz
mapped-devices: Allow unlocking by a key file.
Requiring the user to input their password in order to unlock a device is not
always reasonable, so having an option to unlock the device using a key file
is a nice quality of life change.

* gnu/system/mapped-devices.scm (open-luks-device): Add #:key-file argument.
(luks-device-mapping-with-options): New procedure.
* doc/guix.texi (Mapped Devices): Describe the new procedure.

Change-Id: I1de4e045f8c2c11f9a94f1656e839c785b0c11c4
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/bootloader')
0 files changed, 0 insertions, 0 deletions