nixfiles/presets/nixos/serverEncryptedDrive.nix

12 lines
173 B
Nix
Raw Permalink Normal View History

2024-08-12 16:54:39 +01:00
{tree, ...}: {
2023-09-18 03:56:58 +01:00
imports = with tree; [
2024-07-24 14:13:59 +01:00
profiles.nixos.sshd
2023-09-18 03:56:58 +01:00
];
2023-02-13 11:33:33 +00:00
boot.encryptedDrive = {
enable = true;
mode = "ssh";
allowPasswordDecrypt = true;
};
}