mirror of
				https://github.com/Stunkymonkey/nixos.git
				synced 2025-10-31 01:32:11 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			380 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			380 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| {
 | |
|   config,
 | |
|   lib,
 | |
|   modulesPath,
 | |
|   ...
 | |
| }:
 | |
| {
 | |
|   imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
 | |
| 
 | |
|   boot.initrd.availableKernelModules = [
 | |
|     "ata_piix"
 | |
|     "sd_mod"
 | |
|     "uhci_hcd"
 | |
|     "virtio_pci"
 | |
|     "virtio_scsi"
 | |
|   ];
 | |
|   boot.initrd.kernelModules = [ "dm-snapshot" ];
 | |
| 
 | |
|   hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
 | |
| }
 | 
