All checks were successful
		
		
	
	Check flake / build-amd64-linux (push) Successful in 2m36s
				
			
		
			
				
	
	
		
			39 lines
		
	
	
		
			963 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			963 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { config, lib, pkgs, modulesPath, ... }:
 | |
| 
 | |
| {
 | |
|   imports = [
 | |
|     (modulesPath + "/installer/scan/not-detected.nix")
 | |
|   ];
 | |
| 
 | |
|   boot = {
 | |
|     initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
 | |
|     kernelModules = [ "applesmc" "kvm-intel" "wl" ];
 | |
|     extraModulePackages = [
 | |
|       config.boot.kernelPackages.broadcom_sta
 | |
|       config.boot.kernelPackages.nvidiaPackages.legacy_470
 | |
|     ];
 | |
|   };
 | |
| 
 | |
|   networking.useDHCP = lib.mkDefault true;
 | |
| 
 | |
|   nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
 | |
| 
 | |
|   hardware = {
 | |
|     cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
 | |
|     nvidia = {
 | |
|       package = config.boot.kernelPackages.nvidiaPackages.legacy_470;
 | |
|       modesetting.enable = true;
 | |
|       powerManagement.enable = true;
 | |
|     };
 | |
|     opengl = {
 | |
|       enable = true;
 | |
|       extraPackages = with pkgs; [
 | |
|         libvdpau-va-gl
 | |
|       ];
 | |
|       driSupport = true;
 | |
|       driSupport32Bit = true;
 | |
|     };
 | |
|   };
 | |
| }
 | |
| 
 |