nixfiles/presets/nixos/encryptedDrive.nix

8 lines
122 B
Nix
Raw Permalink Normal View History

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