add: vm module
This commit is contained in:
		
							parent
							
								
									b70dddf597
								
							
						
					
					
						commit
						feb147be01
					
				
					 2 changed files with 31 additions and 0 deletions
				
			
		|  | @ -3,6 +3,7 @@ | ||||||
|     ../standard |     ../standard | ||||||
|     ../standard/wayland |     ../standard/wayland | ||||||
|     ../music |     ../music | ||||||
|  |     ../vm | ||||||
|     ../standard/wayland/eww |     ../standard/wayland/eww | ||||||
| 
 | 
 | ||||||
|     ./tty-init.nix |     ./tty-init.nix | ||||||
|  |  | ||||||
							
								
								
									
										30
									
								
								home/ooks/opt/desktop/vm/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								home/ooks/opt/desktop/vm/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,30 @@ | ||||||
|  | 
 | ||||||
|  | {config, pkgs, ... }: | ||||||
|  | 
 | ||||||
|  | { | ||||||
|  |   programs.dconf.enable = true; | ||||||
|  |    | ||||||
|  |   environment.systemPackages = with pkgs; [ | ||||||
|  |     virt-manager | ||||||
|  |     virt-viewer | ||||||
|  |     spice  | ||||||
|  |     spice-gtk | ||||||
|  |     spice-protocol | ||||||
|  |     win-virtio | ||||||
|  |     win-spice | ||||||
|  |     gnome.adwaita-icon-theme | ||||||
|  |   ]; | ||||||
|  |    | ||||||
|  |   virtualisation = { | ||||||
|  |     libvirtd = { | ||||||
|  |       enable = true; | ||||||
|  |       qemu = { | ||||||
|  |         swtpm.enable = true; | ||||||
|  |         ovmf.enable = true; | ||||||
|  |         ovmf.packages = [ pkgs.OVMFFull.fd ]; | ||||||
|  |       }; | ||||||
|  |     }; | ||||||
|  |     spiceUSBRedirection.enable = true; | ||||||
|  |   }; | ||||||
|  |   services.spice-vdagentd.enable = true; | ||||||
|  | } | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue