[Nix-dev] nix-shell NetworkManager

Sergey Mironov grrwlf at gmail.com
Tue Feb 18 07:40:58 CET 2014


Sorry, irc is not accessible for me at the moment..

id says

[grwlf at greyblade ~ ]$ id
uid=1000(grwlf) gid=100(users)
группы=100(users),1(wheel),57(networkmanager),499(vboxusers)

Regards,
Sergey

2014-02-17 16:42 GMT+04:00 Domen Kožar <domen at dev.si>:
> what's the output of: $ id
>
> PS: would be easier to debug this on irc FreeNode #nixos
>
>
> On Mon, Feb 17, 2014 at 1:41 PM, Sergey Mironov <grrwlf at gmail.com> wrote:
>>
>> Yes, it pops up the error when I try to connect to protected wifi. My
>> configuration has nothing special in the area of networking, but I am
>> using Xfce as a window manager (I guess most of the people use nixos
>> with KDE). My Nixos tree is forked from
>>
>>
>> https://github.com/NixOS/nixpkgs/commit/cec700aab058db238176f591e1b919f30da54ce2
>>
>> Another detail: If I run nm-applet as root, no error is displayed. So
>> this thing is probably related somehow to the polkit.
>>
>> Sergey.
>>
>>
>>
>> 2014-02-17 15:18 GMT+04:00 Domen Kožar <domen at dev.si>:
>> > Hi Sergey,
>> >
>> > what rev of nixpkgs are you using? Anything special about your
>> > configuration? I guess this happens when you try to connect on protected
>> > wifi, right?
>> >
>> > d.
>> >
>> >
>> > On Mon, Feb 17, 2014 at 12:15 PM, Sergey Mironov <grrwlf at gmail.com>
>> > wrote:
>> >>
>> >> 2014-02-17 14:38 GMT+04:00 Cillian de Róiste
>> >> <cillian.deroiste at gmail.com>:
>> >> > Hi,
>> >> >
>> >> > I don't know the answer to your question, but just in case you
>> >> > overlooked
>> >> > it, your user needs to be a member of the networkmanager group to be
>> >> > able to
>> >> > use NetworkManager.
>> >> >
>> >> > Cheers,
>> >> > Cillian
>> >> >
>> >>
>> >> Yes, I know about this, thanks. My problem is probably closer to [1],
>> >> but I don't know how to translate the solution to NixOS. Lools like
>> >> policykit has changed it's config format. Also, pkaction shows that my
>> >> user has all the org.freedesktop.NetworkManager.* permissions.
>> >>
>> >> Regards,
>> >> Sergey
>> >>
>> >>
>> >> [1] -
>> >>
>> >> http://jeffhoogland.blogspot.ru/2012/05/howto-give-network-manager-sufficient.html
>> >> _______________________________________________
>> >> nix-dev mailing list
>> >> nix-dev at lists.science.uu.nl
>> >> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>> >
>> >
>
>


More information about the nix-dev mailing list