summary refs log tree commit diff
path: root/nixos/modules/system/boot/systemd.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2019-08-19 02:08:46 +0200
committerFlorian Klink <flokli@flokli.de>2020-08-05 00:46:57 +0200
commit72c8ed038946850d345db13f30e259a368d7c3c5 (patch)
tree7ceb613d8a2fe7ff97b0ce21ba9493432f60f231 /nixos/modules/system/boot/systemd.nix
parentb5f7ed6846b265a943d65720ca95d4c6eaa1c7b5 (diff)
downloadnixpkgs-72c8ed038946850d345db13f30e259a368d7c3c5.tar
nixpkgs-72c8ed038946850d345db13f30e259a368d7c3c5.tar.gz
nixpkgs-72c8ed038946850d345db13f30e259a368d7c3c5.tar.bz2
nixpkgs-72c8ed038946850d345db13f30e259a368d7c3c5.tar.lz
nixpkgs-72c8ed038946850d345db13f30e259a368d7c3c5.tar.xz
nixpkgs-72c8ed038946850d345db13f30e259a368d7c3c5.tar.zst
nixpkgs-72c8ed038946850d345db13f30e259a368d7c3c5.zip
systemd: build with cryptsetup and cryptsetup-generators
There's a circular dependency to systemd via cryptsetup and lvm2
(systemd -> cryptsetup -> lvm2 -> udev=systemd).

However, cryptsetup only really needs the devmapper component shipped
with lvm2. So build `pkgs.cryptsetup` with a lvm2 that doesn't come with
udev.
Diffstat (limited to 'nixos/modules/system/boot/systemd.nix')
-rw-r--r--nixos/modules/system/boot/systemd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index 86bd81d781a..b0828a923de 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -25,7 +25,7 @@ let
       "nss-lookup.target"
       "nss-user-lookup.target"
       "time-sync.target"
-      #"cryptsetup.target"
+      "cryptsetup.target"
       "sigpwr.target"
       "timers.target"
       "paths.target"