diff --git a/docs/DOCS.md b/docs/DOCS.md index a9724ac7d..9d7e88c59 100644 --- a/docs/DOCS.md +++ b/docs/DOCS.md @@ -2116,6 +2116,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 e6285de25..ee702106c 100644 --- a/nix/modules/spindle.nix +++ b/nix/modules/spindle.nix @@ -1003,6 +1003,8 @@ in virtualisation.docker.enable = true; + boot.kernelModules = ["vhost" "vsock" "vhost_vsock"]; + systemd.services = { spindle-mill-executors = mkIf hasRegistrations {