mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/systemd-stage-1: Don't enable TPM2 on scripted stage 1
This commit is contained in:
parent
d5f1752ca9
commit
3e90d5a2bc
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue