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 {