mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			244 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			244 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ config, lib, ... }:
 | 
						|
with lib;
 | 
						|
{
 | 
						|
  config = {
 | 
						|
    # Wifi can't connect if rand mac address is used
 | 
						|
    networking.networkmanager.settings.device = {
 | 
						|
      match-device = "driver:iwlwifi";
 | 
						|
      wifi.scan-rand-mac-address = "no";
 | 
						|
    };
 | 
						|
  };
 | 
						|
}
 |