mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	treewide: abstract away common configs into common/
This commit is contained in:
		@@ -1,11 +1,15 @@
 | 
			
		||||
{ lib, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../../../common/cpu/intel
 | 
			
		||||
    ../../../common/pc/laptop
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  # TODO: boot loader
 | 
			
		||||
  boot.loader.systemd-boot.enable = lib.mkDefault true;
 | 
			
		||||
  boot.loader.efi.canTouchEfiVariables = lib.mkDefault true;
 | 
			
		||||
 | 
			
		||||
  # To just use Intel integrated graphics with Intel's open source driver
 | 
			
		||||
  # hardware.nvidiaOptimus.disable = true;
 | 
			
		||||
 | 
			
		||||
  services.xserver.libinput.enable = lib.mkDefault true;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user