mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-30 14:59:43 +01:00
13 lines
279 B
Nix
13 lines
279 B
Nix
|
{ config, pkgs, lib, ... }:
|
||
|
with lib;
|
||
|
{
|
||
|
config = {
|
||
|
# Wifi can't connect if rand mac address is used
|
||
|
networking.networkmanager.extraConfig = concatStringsSep "\n" [
|
||
|
"[device]"
|
||
|
"match-device=driver:iwlwifi"
|
||
|
"wifi.scan-rand-mac-address=no"
|
||
|
];
|
||
|
};
|
||
|
}
|