Unverified Commit 2c98ea1e authored by r-vdp's avatar r-vdp
Browse files

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.
parent e2b24c1d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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"