Skip to content

Commit 59a8c4e

Browse files
committed
Allow changing wifi settings without password.
Also makes it explicit that NetworkManager is used.
1 parent 47eaf4d commit 59a8c4e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

configuration.nix

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
networking.hostName = "papyrus"; # Define your hostname.
2020
# Pick only one of the below networking options.
2121
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
22+
2223
# networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
24+
networking.networkmanager.enable = true; # IW; most confusing comment, it seems to be enabled on nixos as well by default.
2325

2426
# Set your time zone.
2527
# time.timeZone = "Europe/Amsterdam";
@@ -46,7 +48,10 @@
4648
# Define a user account. Don't forget to set a password with ‘passwd’.
4749
users.users.ivor = {
4850
isNormalUser = true;
49-
extraGroups = [ "wheel" "dialout" ]; # Wheel; ‘sudo’ for the user, dialout; serial ports.
51+
# Wheel; ‘sudo’ for the user
52+
# dialout; serial ports.
53+
# networkmanager; change wifi settings without password.
54+
extraGroups = [ "wheel" "dialout" "networkmanager" ];
5055
#packages = with pkgs; [
5156
# vim
5257
# tree

0 commit comments

Comments
 (0)