mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	treewide: abstract away common configs into common/
This commit is contained in:
		@@ -1,6 +1,8 @@
 | 
			
		||||
{ lib, pkgs, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  imports = [ ../../common/pc/laptop ];
 | 
			
		||||
 | 
			
		||||
  boot = {
 | 
			
		||||
    initrd.kernelModules = [ "pata_via" ];
 | 
			
		||||
 | 
			
		||||
@@ -15,8 +17,5 @@
 | 
			
		||||
 | 
			
		||||
  hardware.firmware = with pkgs; [ intel2200BGFirmware ];
 | 
			
		||||
 | 
			
		||||
  services.xserver = {
 | 
			
		||||
    synaptics.enable = lib.mkDefault true;
 | 
			
		||||
    videoDrivers = [ "unichrome" ];
 | 
			
		||||
  };
 | 
			
		||||
  services.xserver.videoDrivers = [ "openchrome" ];
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user