summary refs log tree commit diff
path: root/nixos/modules/services/system/dbus.nix
diff options
context:
space:
mode:
authorParnell Springmeyer <parnell@digitalmentat.com>2017-01-29 01:58:12 -0600
committerParnell Springmeyer <parnell@digitalmentat.com>2017-01-29 01:58:12 -0600
commita8cb2afa981099889cf47185be33f4a831ff482b (patch)
tree21fd0eab3bcd7122c64eb329adf2250f7660b94b /nixos/modules/services/system/dbus.nix
parentaf3b9a3d46672232d70e4ab6a45f00e10363bfae (diff)
downloadnixpkgs-a8cb2afa981099889cf47185be33f4a831ff482b.tar
nixpkgs-a8cb2afa981099889cf47185be33f4a831ff482b.tar.gz
nixpkgs-a8cb2afa981099889cf47185be33f4a831ff482b.tar.bz2
nixpkgs-a8cb2afa981099889cf47185be33f4a831ff482b.tar.lz
nixpkgs-a8cb2afa981099889cf47185be33f4a831ff482b.tar.xz
nixpkgs-a8cb2afa981099889cf47185be33f4a831ff482b.tar.zst
nixpkgs-a8cb2afa981099889cf47185be33f4a831ff482b.zip
Fixing a bunch of issues
Diffstat (limited to 'nixos/modules/services/system/dbus.nix')
-rw-r--r--nixos/modules/services/system/dbus.nix17
1 files changed, 8 insertions, 9 deletions
diff --git a/nixos/modules/services/system/dbus.nix b/nixos/modules/services/system/dbus.nix
index 47fc4426af0..f787c02540d 100644
--- a/nixos/modules/services/system/dbus.nix
+++ b/nixos/modules/services/system/dbus.nix
@@ -114,15 +114,14 @@ in
 
     systemd.packages = [ pkgs.dbus.daemon ];
 
-    security.wrappers.setuid = singleton
-      { program = "dbus-daemon-launch-helper";
-        source = "${pkgs.dbus.daemon}/libexec/dbus-daemon-launch-helper";
-        owner = "root";
-        group = "messagebus";
-        setuid = true;
-        setgid = false;
-        permissions = "u+rx,g+rx,o-rx";
-      };
+    security.wrappers.dbus-daemon-launch-helper = {
+      source = "${pkgs.dbus.daemon}/libexec/dbus-daemon-launch-helper";
+      owner = "root";
+      group = "messagebus";
+      setuid = true;
+      setgid = false;
+      permissions = "u+rx,g+rx,o-rx";
+    };
 
     services.dbus.packages = [
       pkgs.dbus.out