summary refs log tree commit diff
path: root/machines/truite/hardware.nix
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2026-04-21 16:02:53 +0200
committerMel <mel@rnrd.eu>2026-04-21 16:02:53 +0200
commit00018ccf922daf89f2f3778af6d24cb3b3708eac (patch)
tree8313305e16c167d3798c1507f9d9c43a1099aad0 /machines/truite/hardware.nix
parent2780fc65523814564153d92ab2d0f19be4ba0e02 (diff)
downloadnetwork-00018ccf922daf89f2f3778af6d24cb3b3708eac.tar.zst
network-00018ccf922daf89f2f3778af6d24cb3b3708eac.zip
Move truite to a better machine and Russian hosting provider
Signed-off-by: Mel <mel@rnrd.eu>
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;
 }