Hi, there is a open PR for the same thing with wpa_supplicant: https://github.com/NixOS/nixpkgs/pull/12015
But declarative configuration of Networkmanger would be nice to have, too! On Wed, Dec 30, 2015, at 04:54 PM, Mateusz Czaplinski wrote: > Hi All. I've recently installed NixOS on an old notebook. I > struggled somewhat, especially with network configuration, but in the > end I managed to configure it using network-manager and "nmcli". > > I'd much prefer if I could pre-configure all my default WiFi networks > for network-manager via configuration.nix, instead of having to set > them up manually with nmcli. Is that possible? > > If it's not possible, I'd like to try contributing such a feature to > the network-manager package in nixpkgs. Would such a contribution be > accepted? What API (i.e. example nix expression) would you like to see > for that, or should I propose one? From some quick reading on the > Internet, I believe NetworkManager keeps its settings as files in > /etc/NetworkManager/system- > connections/ [1]; if I'm right on that, I assume I should create such > files from the nix-expression; does that sound correct? > > [1]: https://wiki.gnome.org/Projects/NetworkManager/SystemSettings > Thanks, /Mateusz. > _________________________________________________ > nix-dev mailing list [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
