0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-12 05:16:25 +03:00

Merge pull request #157053 from lheckemann/systemd-optional-cryptsetup

nixos/systemd: only use cryptsetup units if systemd was built with it
This commit is contained in:
Guillaume Girol 2022-01-30 16:04:17 +00:00 committed by GitHub
commit 0d5c5e46da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 9 deletions

View file

@ -25,9 +25,11 @@ let
"nss-lookup.target"
"nss-user-lookup.target"
"time-sync.target"
] ++ (optionals cfg.package.withCryptsetup [
"cryptsetup.target"
"cryptsetup-pre.target"
"remote-cryptsetup.target"
]) ++ [
"sigpwr.target"
"timers.target"
"paths.target"