mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			393 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			393 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ lib, pkgs, ... }:
 | 
						|
 | 
						|
{
 | 
						|
  imports = [ ../../common/pc/laptop ];
 | 
						|
 | 
						|
  boot = {
 | 
						|
    initrd.kernelModules = [ "pata_via" ];
 | 
						|
 | 
						|
    kernelParams = [
 | 
						|
      "apm=on"
 | 
						|
      "acpi=on"
 | 
						|
      "vga=0x317"  # 1024x768
 | 
						|
      "console=tty1"
 | 
						|
      "video=vesafb:ywrap"  # Faster scroll
 | 
						|
     ];
 | 
						|
  };
 | 
						|
 | 
						|
  hardware.firmware = with pkgs; [ intel2200BGFirmware ];
 | 
						|
 | 
						|
  services.xserver.videoDrivers = [ "openchrome" ];
 | 
						|
}
 |