summary refs log tree commit diff
path: root/machines/truite/hardware.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/truite/hardware.nix')
-rw-r--r--machines/truite/hardware.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/machines/truite/hardware.nix b/machines/truite/hardware.nix
index b60a848..0936388 100644
--- a/machines/truite/hardware.nix
+++ b/machines/truite/hardware.nix
@@ -4,20 +4,21 @@
 { config, lib, pkgs, modulesPath, ... }:
 
 {
-  imports = [ ];
+  imports =
+    [ (modulesPath + "/profiles/qemu-guest.nix")
+    ];
 
-  boot.initrd.availableKernelModules = [ "ata_piix" "sd_mod" ];
+  boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
   boot.initrd.kernelModules = [ ];
-  boot.kernelModules = [ ];
+  boot.kernelModules = [ "kvm-intel" ];
   boot.extraModulePackages = [ ];
 
   fileSystems."/" =
-    { device = "/dev/disk/by-uuid/a029352d-e2e9-432d-ae2a-43921652ea8b";
+    { device = "/dev/disk/by-uuid/7eece4ee-4027-4c10-b080-86fca470b915";
       fsType = "ext4";
     };
 
   swapDevices = [ ];
 
   nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
-  virtualisation.hypervGuest.enable = true;
 }