-
-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clear up confusion about passwordFile
, settings.keyFile
and additionalKeyFiles
#956
Comments
i would keep the password in a management program and pass it like this: or create a file as explained here: Lines 27 to 32 in 18d0a98
just apply it to |
I don't think I understand, I know how to use I would suggest a restructuring of these modules, eg. having the |
passwordFile
, settings.keyFile
and additionalKeyFiles
I admit that the title was probably misleading, I updated it to, I hope, something which makes my problem(s) more clear |
I want to configure my system so that the luks root disk has a password and a key file, the key file is on a usb stick, when the usb isn't present it should fallback to password.
I can't set
passwordFile
andsettings.keyFile
becausesettings.keyFile
overridespasswordFile
. I can't usepasswordFile
and place my key file inadditionalKeyFiles
because than it doesn't gets added toconfig.boot.initrd.luks.devices.<name>.keyFile
and so doesn't gets searched for.The only thing I think I can do (tho not tested) is something like this:
I understand the limitation of
nixos
only allowing for one key file, but this is really awkward should be fixed in some wayThe text was updated successfully, but these errors were encountered: