1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-28 20:49:45 +01:00
nixos-hardware/hp/elitebook/2560p/network.nix
2022-02-04 13:48:49 +01:00

12 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"
];
};
}