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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user