fix: enable kvm-intel/kvm-amd per host

This commit is contained in:
Ryan Yin
2024-01-28 09:53:09 +08:00
parent b231111d93
commit 63d686ad3a
6 changed files with 24 additions and 3 deletions

View File

@@ -19,6 +19,9 @@
"cifs" # mount windows share
];
boot.kernelModules = ["kvm-amd" "kvm-intel"];
boot.extraModprobeConfig = "options kvm_amd nested=1"; # for amd cpu
networking = {
hostName = "ruby"; # Define your hostname.
wireless.enable = false; # Enables wireless support via wpa_supplicant.