nichts/modules/system/os/networking/networkmanager.mod.nix
2025-07-16 22:15:41 +02:00

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;
};
};
}