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
commit76923648afac56e817018e0903d6425b3455f201
authorBjørn Forsman <bjorn.forsman@gmail.com>
dateSat 31 Dec 2016, 12:18 (10 years ago)
parentb4cab20
nixos/modules/services/x11/desktop-managers/gnome3.nix+1
@@ -123,6 +123,7 @@ in {
123123 services.packagekit.enable = mkDefault true;
124124 hardware.bluetooth.enable = mkDefault true;
125125 services.xserver.libinput.enable = mkDefault true; # for controlling touchpad settings via gnome control center
126+ services.udev.packages = [ pkgs.gnome3.gnome_settings_daemon ];
126127
127128 fonts.fonts = [ pkgs.dejavu_fonts pkgs.cantarell_fonts ];
128129