systemd: add withPolkit option

This commit is contained in:
Florian Klink
2020-10-28 23:24:18 +01:00
parent 0b762c02ee
commit 1f9347431c
2 changed files with 3 additions and 0 deletions
@@ -66,6 +66,7 @@
, withLocaled ? true
, withLogind ? true
, withNetworkd ? true
, withPolkit ? true
, withRemote ? false # has always been disabled on NixOS, upstream version appears broken anyway
, withResolved ? true
, withTimedated ? true
@@ -222,6 +223,7 @@ stdenv.mkDerivation {
"-Dlocaled=${lib.boolToString withLocaled}"
"-Dhostnamed=${lib.boolToString withHostnamed}"
"-Dnetworkd=${lib.boolToString withNetworkd}"
"-Dpolkit=${lib.boolToString withPolkit}"
"-Dcryptsetup=${lib.boolToString withCryptsetup}"
"-Dportabled=false"
"-Dhwdb=${lib.boolToString withHwdb}"