25 lines
551 B
Nix
25 lines
551 B
Nix
_: {
|
|
networking.networkmanager = {
|
|
enable = true;
|
|
|
|
unmanaged = [
|
|
# DO NOT manage my docker containers, thank you.
|
|
"interface-name:docker*"
|
|
];
|
|
|
|
wifi = {
|
|
# Generate a randomized value upon each connect
|
|
macAddress = "random";
|
|
|
|
# Enable Wi-Fi power saving
|
|
powersave = true;
|
|
|
|
# Backend is either wpa_supplicant or iwd,
|
|
# I use iwd.
|
|
backend = "iwd";
|
|
|
|
# Whether to enable MAC address randomization of a Wi-Fi device during scanning.
|
|
scanRandMacAddress = true;
|
|
};
|
|
};
|
|
}
|