diff options
| -rw-r--r-- | hel.nix | 21 |
1 files changed, 21 insertions, 0 deletions
| @@ -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 = { |
