summaryrefslogtreecommitdiff
path: root/hel.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hel.nix')
-rw-r--r--hel.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/hel.nix b/hel.nix
index 1513a533..6a55abd0 100644
--- a/hel.nix
+++ b/hel.nix
@@ -319,6 +319,27 @@
319 members = [ "gkleen" ]; 319 members = [ "gkleen" ];
320 }; 320 };
321 }; 321 };
322
323 dbus = {
324 enable = true;
325 packages = [ (pkgs.writeTextFile {
326 name = "eavesdrop.conf";
327 text = ''
328 <!DOCTYPE busconfig PUBLIC
329 "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
330 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
331 <busconfig>
332 <policy user="root">
333 <allow eavesdrop="true"/>
334 <allow eavesdrop="true" send_destination="*"/>
335 </policy>
336 </busconfig>
337 '';
338 destination = "/etc/dbus-1/system.d/eavesdrop.conf";
339 };
340 )
341 ];
342 };
322 }; 343 };
323 344
324 security = { 345 security = {