nixos/systemd: add upstream units for boot counting

These units are needed to be able to experiment with systemd's boot counting
functionality (e.g. with out-of-tree bootloaders like lanzaboote), and they
cannot easily be added through configuration without patching nixpkgs.
They are basically a no-op when boot entries do not contain any
counters, so AFAICT there is no disadvantage to them being enabled by default.
This commit is contained in:
r-vdp
2025-08-24 21:39:10 +03:00
parent e2b24c1d9d
commit 2c98ea1e33

View File

@@ -113,6 +113,10 @@ let
"systemd-rfkill.service"
"systemd-rfkill.socket"
# Boot counting
"boot-complete.target"
"systemd-bless-boot.service"
# Hibernate / suspend.
"hibernate.target"
"suspend.target"