summary refs log tree commit diff
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2016-12-31 12:18:31 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2016-12-31 13:05:38 +0100
commit76923648afac56e817018e0903d6425b3455f201 (patch)
tree9ef6c8dabd56c5910a1c511bc5a6a97910dad77b
parentb4cab206914edb88d2fcb13288a67b93318f6b7f (diff)
downloadnixlib-76923648afac56e817018e0903d6425b3455f201.tar
nixlib-76923648afac56e817018e0903d6425b3455f201.tar.gz
nixlib-76923648afac56e817018e0903d6425b3455f201.tar.bz2
nixlib-76923648afac56e817018e0903d6425b3455f201.tar.lz
nixlib-76923648afac56e817018e0903d6425b3455f201.tar.xz
nixlib-76923648afac56e817018e0903d6425b3455f201.tar.zst
nixlib-76923648afac56e817018e0903d6425b3455f201.zip
nixos/gnome3: add gnome-settings-daemon udev rules (enables bluetooth GUI)
Without this, gnome-settings-daemon will not have write access to
/dev/rfkill, which in turn cause it to advertise no "airplane mode" over
D-Bus, which in turn the bluetooth panel code in gnome-control-center
interprets as "there are no bluetooth dongles" (and the button to turn
on bluetooth is grayed out). The end result that bluetooth operations
cannot be done in the GNOME desktop.

See upstream discussion:

http://lists.usefulinc.com/pipermail/gnome-bluetooth/2016-July/thread.html
http://lists.usefulinc.com/pipermail/gnome-bluetooth/2016-December/thread.html
-rw-r--r--nixos/modules/services/x11/desktop-managers/gnome3.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/gnome3.nix b/nixos/modules/services/x11/desktop-managers/gnome3.nix
index 5d1af09e7aa7..17e84b1d9a16 100644
--- a/nixos/modules/services/x11/desktop-managers/gnome3.nix
+++ b/nixos/modules/services/x11/desktop-managers/gnome3.nix
@@ -123,6 +123,7 @@ in {
     services.packagekit.enable = mkDefault true;
     hardware.bluetooth.enable = mkDefault true;
     services.xserver.libinput.enable = mkDefault true; # for controlling touchpad settings via gnome control center
+    services.udev.packages = [ pkgs.gnome3.gnome_settings_daemon ];
 
     fonts.fonts = [ pkgs.dejavu_fonts pkgs.cantarell_fonts ];