Use networkmanager instead of wpa_supplicant

This commit is contained in:
Felix Wittwer 2021-11-17 12:45:15 +01:00
parent 87e91074ba
commit bb44e040af
Signed by: wittwer
GPG key ID: 24363525EA0E8A99

View file

@ -31,7 +31,9 @@
time.timeZone = "Europe/Berlin"; time.timeZone = "Europe/Berlin";
networking.hostName = "birne"; # Define your hostname. networking.hostName = "birne"; # Define your hostname.
networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. networking.networkmanager.enable = true;
# enable the networkmanager applet
programs.nm-applet.enable = true;
# The global useDHCP flag is deprecated, therefore explicitly set to false here. # The global useDHCP flag is deprecated, therefore explicitly set to false here.
# Per-interface useDHCP will be mandatory in the future, so this generated config # Per-interface useDHCP will be mandatory in the future, so this generated config
@ -46,7 +48,7 @@
users.users.print = { users.users.print = {
createHome = true; createHome = true;
isNormalUser = true; isNormalUser = true;
extraGroups = [ "video" "audio" "dialout" ]; extraGroups = [ "video" "audio" "networkmanager" ];
group = "users"; group = "users";
home = "/home/print"; home = "/home/print";
shell = pkgs.fish; shell = pkgs.fish;