mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-19 08:09:45 +01:00
commit
406ce62ea8
1 changed files with 4 additions and 5 deletions
|
@ -3,10 +3,9 @@ with lib;
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
# Wifi can't connect if rand mac address is used
|
# Wifi can't connect if rand mac address is used
|
||||||
networking.networkmanager.extraConfig = concatStringsSep "\n" [
|
networking.networkmanager.settings.device = {
|
||||||
"[device]"
|
match-device = "driver:iwlwifi";
|
||||||
"match-device=driver:iwlwifi"
|
wifi.scan-rand-mac-address = "no";
|
||||||
"wifi.scan-rand-mac-address=no"
|
};
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue