From be0f23947aebe445f546923d6d1960ca639ec286 Mon Sep 17 00:00:00 2001 From: Enzo Isotton Date: Sun, 16 Nov 2025 20:41:01 -0500 Subject: [PATCH] added kvm support --- hosts/common/kvm.nix | 9 +++++++++ hosts/vesuvius/configuration.nix | 1 + 2 files changed, 10 insertions(+) create mode 100644 hosts/common/kvm.nix diff --git a/hosts/common/kvm.nix b/hosts/common/kvm.nix new file mode 100644 index 0000000..28b8913 --- /dev/null +++ b/hosts/common/kvm.nix @@ -0,0 +1,9 @@ +{ + boot.kernelModules = [ + "kvm" + "kvm-intel" + "tun" + "vhost_net" + "vhost" + ]; +} diff --git a/hosts/vesuvius/configuration.nix b/hosts/vesuvius/configuration.nix index 482f77b..7d0d31e 100644 --- a/hosts/vesuvius/configuration.nix +++ b/hosts/vesuvius/configuration.nix @@ -2,6 +2,7 @@ { imports = [ ./hardware-configuration.nix + ../common/kvm.nix ./nix.nix ./zfs.nix ./netboot.nix