modularize virtualization settings
This commit is contained in:
		
							parent
							
								
									99816f0d3f
								
							
						
					
					
						commit
						ff1b655d3c
					
				
					 3 changed files with 2 additions and 1 deletions
				
			
		|  | @ -9,5 +9,6 @@ | |||
|     ./yubikey.nix | ||||
|     ./audio.nix | ||||
|     ./graphics.nix | ||||
|     ./virtualisation.nix | ||||
|   ]; | ||||
| } | ||||
|  |  | |||
|  | @ -15,7 +15,6 @@ in { | |||
|     virtualisation.libvirtd.qemu.ovmf.enable = true; | ||||
|     virtualisation.libvirtd.qemu.ovmf.packages = [pkgs.OVMFFull.fd]; | ||||
|     virtualisation.libvirtd.enable = true; | ||||
|     programs.dconf.enable = true; | ||||
|     # boot.kernelModules = [ "vfio" "vfio_iommu_type1" "vfio_pci" "vfio_virqfd" ]; | ||||
|     # boot.kernelParams = [ "amd_iommu=on" "iommu=pt" "vfio-pci.ids=1002:699f,1002:aae0" "video=efifb:off" ]; | ||||
|     virtualisation.libvirtd.onBoot = "start"; | ||||
|  |  | |||
|  | @ -18,6 +18,7 @@ | |||
|     yubikey.enable = true; | ||||
|     audio.enable = true; | ||||
|     graphics.enable = true; | ||||
|     virtualisation.enable = true; | ||||
|   }; | ||||
| 
 | ||||
|   # Use the systemd-boot EFI boot loader. | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue