summary refs log tree commit diff
path: root/pkgs/os-specific/linux/systemd
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2020-10-28 00:48:51 +0100
committerFlorian Klink <flokli@flokli.de>2020-10-28 23:24:18 +0100
commit1f9347431c153ffa3b61e0677782678bfce4bae3 (patch)
treefe581e273b84e8f3dec7d58cc2d02858751bb424 /pkgs/os-specific/linux/systemd
parent0b762c02ee2a0a7a047c8ff5d2a1885ae04d4553 (diff)
downloadnixpkgs-1f9347431c153ffa3b61e0677782678bfce4bae3.tar
nixpkgs-1f9347431c153ffa3b61e0677782678bfce4bae3.tar.gz
nixpkgs-1f9347431c153ffa3b61e0677782678bfce4bae3.tar.bz2
nixpkgs-1f9347431c153ffa3b61e0677782678bfce4bae3.tar.lz
nixpkgs-1f9347431c153ffa3b61e0677782678bfce4bae3.tar.xz
nixpkgs-1f9347431c153ffa3b61e0677782678bfce4bae3.tar.zst
nixpkgs-1f9347431c153ffa3b61e0677782678bfce4bae3.zip
systemd: add withPolkit option
Diffstat (limited to 'pkgs/os-specific/linux/systemd')
-rw-r--r--pkgs/os-specific/linux/systemd/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix
index 21ac8208155..e8a38bce882 100644
--- a/pkgs/os-specific/linux/systemd/default.nix
+++ b/pkgs/os-specific/linux/systemd/default.nix
@@ -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}"