nixfiles/presets/nixos/serverEncryptedDrive.nix
2024-08-12 16:54:39 +01:00

12 lines
173 B
Nix

{tree, ...}: {
imports = with tree; [
profiles.nixos.sshd
];
boot.encryptedDrive = {
enable = true;
mode = "ssh";
allowPasswordDecrypt = true;
};
}