nixfiles/presets/nixos/encryptedDrive.nix

8 lines
122 B
Nix
Raw Normal View History

{...}: {
boot.encryptedDrive = {
enable = true;
mode = "encrypted-usb";
allowPasswordDecrypt = true;
};
}