2024-04-01 17:02:14 +01:00
|
|
|
{lib, ...}: let
|
|
|
|
inherit (lib.modules) mkDefault;
|
2022-11-10 14:57:07 +00:00
|
|
|
in {
|
2024-04-01 17:02:14 +01:00
|
|
|
boot.encryptedDrive = {
|
|
|
|
enable = true;
|
|
|
|
mode = mkDefault "encrypted-usb";
|
|
|
|
allowPasswordDecrypt = mkDefault true;
|
2022-11-10 14:57:07 +00:00
|
|
|
};
|
|
|
|
}
|