Compare commits
	
		
			No commits in common. "72cac1e8c63ec7c06e6921555bdcff0f676b20dc" and "9ca20b8e24b7f6615581eac6d5349b8ef7a58067" have entirely different histories.
		
	
	
		
			72cac1e8c6
			...
			9ca20b8e24
		
	
		
| @ -19,8 +19,8 @@ in | ||||
|     # without modesetting, x server will be run by nvidia | ||||
|     services.xserver.videoDrivers = [  | ||||
|       "amdgpu" | ||||
|       # "modesetting" | ||||
|       "nvidia" | ||||
|       "modesetting" | ||||
|       "nvidia"  | ||||
|     ]; | ||||
| 
 | ||||
|     # Enable OpenGL | ||||
| @ -39,21 +39,20 @@ in | ||||
|     # Enable required Kernel Modules | ||||
|     boot.initrd.kernelModules = [ | ||||
|       "amdgpu" | ||||
|       # "modesetting" | ||||
|       # "nvidia" | ||||
|       "nvidia" | ||||
|       # "nvidia-drm" | ||||
|       # "nvidiafb" | ||||
|       # # "nvidia-uvm" | ||||
|       "nvidiafb" | ||||
|       # "nvidia-uvm" | ||||
|       # "nvidia-modeset" | ||||
|       # "i2c-nvidia_gpu"     | ||||
|     ]; | ||||
| 
 | ||||
| 
 | ||||
|     boot.kernelParams = [ | ||||
|       # "amdgpu.modeset=1" | ||||
|       # "nvidia-drm.fbdev=1" | ||||
|       # "nvidia-drm.modeset=0" | ||||
|       # #  "nvidia.NVreg_PreserveVideoMemoryAllocations=0" | ||||
|       "amdgpu.modeset=1" | ||||
|       "nvidia-drm.fbdev=1" | ||||
|       "nvidia-drm.modeset=1" | ||||
|       #  "nvidia.NVreg_PreserveVideoMemoryAllocations=0" | ||||
|       "amd_iommu=on" | ||||
|       # "vfio-pci.ids=\"10de:2489,10de:228b\"" | ||||
|       # "nomodeset" | ||||
| @ -63,7 +62,7 @@ in | ||||
| 
 | ||||
|     # Blacklist intel and nouveau | ||||
|     boot.blacklistedKernelModules = [ | ||||
|       # "i915" | ||||
|       "i915" | ||||
|       "nouveau" | ||||
|       # "nvidia" | ||||
|       # "nvidia-drm" | ||||
| @ -74,10 +73,10 @@ in | ||||
|     ]; | ||||
| 
 | ||||
|     # Extra blacklist nouveau | ||||
|     # boot.extraModprobeConfig = '' | ||||
|     #   blacklist nouveau | ||||
|     #   options nouveau modeset=0 | ||||
|     # ''; | ||||
|     boot.extraModprobeConfig = '' | ||||
|       blacklist nouveau | ||||
|       options nouveau modeset=0 | ||||
|     ''; | ||||
| 
 | ||||
|     # Configure NVIDIA driver | ||||
|     hardware.nvidia = { | ||||
| @ -119,8 +118,7 @@ in | ||||
|           enable = true; | ||||
|           enableOffloadCmd = true; | ||||
|         }; | ||||
|         # sync.enable=true; | ||||
|         # reverseSync.enable = false; | ||||
|         reverseSync.enable = false; | ||||
|         # Make sure to use the correct Bus ID values for your system! | ||||
|         # intelBusId = "PCI:0:2:0"; | ||||
|         nvidiaBusId = "PCI:01:0:0"; | ||||
|  | ||||
| @ -118,12 +118,8 @@ | ||||
|   # services.openssh.enable = true; | ||||
| 
 | ||||
|   # Open ports in the firewall. | ||||
|   networking.firewall.allowedTCPPorts = [  | ||||
|     24800 #Synergy | ||||
|   ]; | ||||
|   networking.firewall.allowedUDPPorts = [ | ||||
|     24800 #Synergy | ||||
|   ]; | ||||
|   # networking.firewall.allowedTCPPorts = [ ... ]; | ||||
|   # networking.firewall.allowedUDPPorts = [ ... ]; | ||||
|   # Or disable the firewall altogether. | ||||
|   # networking.firewall.enable = false; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user