change nvidia hybrid mode
This commit is contained in:
		| @@ -6,6 +6,7 @@ | |||||||
|         ./hardware-configuration.nix |         ./hardware-configuration.nix | ||||||
|         ../../modules/nixos/flatpak.nix |         ../../modules/nixos/flatpak.nix | ||||||
|         ../../modules/nixos/gdm.nix |         ../../modules/nixos/gdm.nix | ||||||
|  |         ../../modules/nixos/monitoring.nix | ||||||
|         ../../modules/nixos/nvidia.nix |         ../../modules/nixos/nvidia.nix | ||||||
|         ../../modules/nixos/pipewire.nix |         ../../modules/nixos/pipewire.nix | ||||||
|         ../../modules/nixos/podman.nix |         ../../modules/nixos/podman.nix | ||||||
|   | |||||||
							
								
								
									
										13
									
								
								modules/nixos/monitoring.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								modules/nixos/monitoring.nix
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | |||||||
|  | { | ||||||
|  |     config, | ||||||
|  |     lib, | ||||||
|  |     pkgs, | ||||||
|  |     ... | ||||||
|  | }: | ||||||
|  | { | ||||||
|  |  | ||||||
|  |   environment.systemPackages = [ | ||||||
|  |     pkgs.btop | ||||||
|  |   ]; | ||||||
|  |   programs.iotop.enable = true; | ||||||
|  | } | ||||||
| @@ -51,14 +51,14 @@ | |||||||
| 		nvidiaBusId = "PCI:1:0:0"; | 		nvidiaBusId = "PCI:1:0:0"; | ||||||
|  |  | ||||||
|     ## Reverse PRIME synchronization |     ## Reverse PRIME synchronization | ||||||
|     reverseSync.enable = true; |     # reverseSync.enable = true; | ||||||
|     # Enable if using an external GPU |     # # Enable if using an external GPU | ||||||
|     allowExternalGpu = false; |     # allowExternalGpu = false; | ||||||
|  |  | ||||||
|     ## Alternatively enable offloading |     ## Alternatively enable offloading | ||||||
|     # offload = { |     offload = { | ||||||
| 		# 	enable = true; | 			enable = true; | ||||||
| 		# 	enableOffloadCmd = true; | 			enableOffloadCmd = true; | ||||||
| 		# }; | 		}; | ||||||
| 	}; | 	}; | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user