forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nixos: fix systemd when systemd-boot is disabled (#4)
Co-authored-by: Michael Bishop <[email protected]>
- Loading branch information
1 parent
50dd867
commit 6895cf3
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,7 +112,11 @@ let | |
"sleep.target" | ||
"hybrid-sleep.target" | ||
"systemd-hibernate.service" | ||
] ++ optionals cfg.package.withBootloader [ | ||
"systemd-hibernate-clear.service" | ||
"[email protected]" | ||
"systemd-bootctl.socket" | ||
] ++ [ | ||
"systemd-hybrid-sleep.service" | ||
"systemd-suspend.service" | ||
"systemd-suspend-then-hibernate.service" | ||
|
@@ -138,11 +142,9 @@ let | |
"systemd-ask-password-wall.service" | ||
|
||
# Varlink APIs | ||
"[email protected]" | ||
"systemd-bootctl.socket" | ||
"[email protected]" | ||
"systemd-creds.socket" | ||
] ++ lib.optional cfg.package.withTpm2Tss [ | ||
] ++ lib.optional (cfg.package.withBootloader && cfg.package.withTpm2Tss) [ | ||
"[email protected]" | ||
"systemd-pcrlock.socket" | ||
] ++ [ | ||
|