Commit 3e90d5a2 authored by Will Fancher's avatar Will Fancher
Browse files

nixos/systemd-stage-1: Don't enable TPM2 on scripted stage 1

parent d5f1752c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"