nixos/systemd-stage-1: Don't enable TPM2 on scripted stage 1 (#346547)
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
let
|
||||
cfg = config.boot.initrd.systemd;
|
||||
in
|
||||
lib.mkIf cfg.tpm2.enable {
|
||||
lib.mkIf (cfg.enable && cfg.tpm2.enable) {
|
||||
boot.initrd.systemd.additionalUpstreamUnits = [
|
||||
"tpm2.target"
|
||||
"systemd-tpm2-setup-early.service"
|
||||
|
||||
Reference in New Issue
Block a user