From 07d8a551b85753f5bbbae65fded5ba55456fe559 Mon Sep 17 00:00:00 2001 From: Bas van den Wollenberg Date: Sun, 30 Aug 2026 17:57:27 +0200 Subject: [PATCH] nix/modules: enable vhost_vsock kernel module by default for spindle Signed-off-by: Bas van den Wollenberg --- docs/DOCS.md | 1 + nix/modules/spindle.nix | 2 ++ 2 files changed, 3 insertions(+) diff --git a/docs/DOCS.md b/docs/DOCS.md index f27e8493..f3d4b188 100644 --- a/docs/DOCS.md +++ b/docs/DOCS.md @@ -1958,6 +1958,7 @@ clear error. You'll need: On NixOS, the [spindle module](https://tangled.org/tangled.org/core/blob/master/nix/modules/spindle.nix) +enables the `vhost`, `vsock` and `vhost_vsock` kernel modules and puts `qemu`, `e2fsprogs`, `slirp4netns`, `iproute2` and `util-linux` on the service's `PATH` for you. diff --git a/nix/modules/spindle.nix b/nix/modules/spindle.nix index f9db8ee9..570d20fe 100644 --- a/nix/modules/spindle.nix +++ b/nix/modules/spindle.nix @@ -996,6 +996,8 @@ in virtualisation.docker.enable = true; + boot.kernelModules = ["vhost" "vsock" "vhost_vsock"]; + systemd.services = { spindle-mill-executors = mkIf hasRegistrations { -- 2.51.2