Allow disableing encryption for testing

This commit is contained in:
ahtlon
2025-01-02 14:07:38 +01:00
parent 63f2ca5b3c
commit f44adbc815
3 changed files with 17 additions and 12 deletions

View File

@@ -24,7 +24,7 @@ in
};
};
config = lib.mkIf cfg.enable {
config = lib.mkIf (cfg.enable && config.malobeo.disks.encryption) {
boot = {
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;