Chris Marusich <cmmarus...@gmail.com> skribis: > I tried following polkit's example. These patches enable me to build > network-manager with elogind, but when I reconfigure my system using the > new network-manager package, NetworkManager still fails to automatically > connect (like before, there are no error messages that I can find). > > I suspect I didn't replace the right "systemd" references, but it's hard > to say. A second pair of eyes on this would be very helpful!
[...] > From 775e0f0c18fb2bcfc297c92184c54e81fb2db79d Mon Sep 17 00:00:00 2001 > From: Chris Marusich <cmmarus...@gmail.com> > Date: Wed, 14 Dec 2016 00:44:54 -0800 > Subject: [PATCH 1/2] gnome: Enable session tracking in network-manager. > > * gnu/packages/gnome.scm (network-manager): Add configuration options > "--with-systemd-logind=yes" (so we can use elogind to track login sessions) > and "--with-consolekit=no" (so we don't use consolekit to track sessions, > since it isn't packaged yet). Add elogind as an input, and add a snippet to > replace some references to systemd with elogind. [...] > From d6de68789959bd657c5697c717201d5bcdaf2fcf Mon Sep 17 00:00:00 2001 > From: Chris Marusich <cmmarus...@gmail.com> > Date: Wed, 14 Dec 2016 00:01:26 -0800 > Subject: [PATCH 2/2] gnome: Enable NetworkManager in gnome-settings-daemon. > > * gnu/packages/gnome.scm (gnome-settings-daemon): remove the configure option > "--disable-network-manager". Add network-manager as an input. Following Andy’s advice I committed both with slightly-tweaked commit logs. That’ll give lurkers out there an incentive to give it a try. ;-) Thank you Chris! Ludo’.