diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2019-08-11 20:34:18 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2019-08-11 20:34:18 +0200 |
commit | 0303e7dbf178f08cd30679b8e12fc07fef392142 (patch) | |
tree | 02fdbe79429e813f85d627b4c13ed769be92cb1c | |
parent | bf215f7281a8c70f16d23ca568cbc4c6021a065e (diff) | |
download | nixos-0303e7dbf178f08cd30679b8e12fc07fef392142.tar nixos-0303e7dbf178f08cd30679b8e12fc07fef392142.tar.gz nixos-0303e7dbf178f08cd30679b8e12fc07fef392142.tar.bz2 nixos-0303e7dbf178f08cd30679b8e12fc07fef392142.tar.xz nixos-0303e7dbf178f08cd30679b8e12fc07fef392142.zip |
...
-rw-r--r-- | hel.nix | 36 |
1 files changed, 18 insertions, 18 deletions
@@ -195,8 +195,6 @@ | |||
195 | libinput.enable = true; | 195 | libinput.enable = true; |
196 | 196 | ||
197 | dpi = 210; | 197 | dpi = 210; |
198 | |||
199 | dbus.packages = with pkgs; [ gnome.GConf ]; | ||
200 | }; | 198 | }; |
201 | 199 | ||
202 | ntp.enable = false; | 200 | ntp.enable = false; |
@@ -329,22 +327,24 @@ | |||
329 | 327 | ||
330 | dbus = { | 328 | dbus = { |
331 | enable = true; | 329 | enable = true; |
332 | packages = [ (pkgs.writeTextFile { | 330 | packages = with pkgs; |
333 | name = "eavesdrop.conf"; | 331 | [ (writeTextFile { |
334 | text = '' | 332 | name = "eavesdrop.conf"; |
335 | <!DOCTYPE busconfig PUBLIC | 333 | text = '' |
336 | "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN" | 334 | <!DOCTYPE busconfig PUBLIC |
337 | "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> | 335 | "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN" |
338 | <busconfig> | 336 | "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> |
339 | <policy user="root"> | 337 | <busconfig> |
340 | <allow eavesdrop="true"/> | 338 | <policy user="root"> |
341 | <allow eavesdrop="true" send_destination="*"/> | 339 | <allow eavesdrop="true"/> |
342 | </policy> | 340 | <allow eavesdrop="true" send_destination="*"/> |
343 | </busconfig> | 341 | </policy> |
344 | ''; | 342 | </busconfig> |
345 | destination = "/etc/dbus-1/system.d/eavesdrop.conf"; | 343 | ''; |
346 | }) | 344 | destination = "/etc/dbus-1/system.d/eavesdrop.conf"; |
347 | ]; | 345 | }) |
346 | gnome.GConf | ||
347 | ]; | ||
348 | }; | 348 | }; |
349 | }; | 349 | }; |
350 | 350 | ||