diff options
| author | mo khan <mo@mokhan.ca> | 2022-06-03 09:56:55 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2022-06-03 09:56:55 -0600 |
| commit | c5136e43fe11159684456452205731535b5224f3 (patch) | |
| tree | e85754da3f9948d3f4da0e773696b44ca23e289b | |
| parent | 09b15ada61b37c4d63207294dad3081a9188277b (diff) | |
docs: add notes on enabling kvm for nix tests
| -rw-r--r-- | learn/nix/README.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/learn/nix/README.md b/learn/nix/README.md index 84a0a0c..bcffd27 100644 --- a/learn/nix/README.md +++ b/learn/nix/README.md @@ -54,6 +54,21 @@ $ nix build .# ## zerocmd/infrastructure +You will need kvm available. So if you're running a linux vm makesure that +hardware virtualization is enabled and the appropriate kvm module is loaded. + +```bash +# sudo modprobe kvm_intel +``` + +You will also need to make sure that the kvm feature is enabled in nix. + +```bash +$ cat /etc/nix/nix.conf + +system-features = benchmark big-parallel nixos-test recursive-nix kvm +``` + Running the e2e tests: ```bash |
