1
Fork 0

Fix some stupid

This commit is contained in:
caem 2024-06-28 00:52:58 +02:00
parent 1eb3b63c80
commit d20f4b946d
Signed by: caem
GPG key ID: 69A830D03203405F
3 changed files with 6 additions and 20 deletions

View file

@ -124,11 +124,11 @@
},
"nur": {
"locked": {
"lastModified": 1719488730,
"narHash": "sha256-4LTpvjM/S6DMxl9Kb35tQ5Y70XVTULMTM5UprsngFMg=",
"lastModified": 1719517516,
"narHash": "sha256-bwjxMNXHkyh8yS7i6ZCwUAjs7ANzPromZx+ySqhJqv4=",
"owner": "nix-community",
"repo": "NUR",
"rev": "c2667e57412f53b38d19386ebf7f6f564e28febe",
"rev": "d4476920ba0f03b76443950c3d438cdd81f56a12",
"type": "github"
},
"original": {

View file

@ -37,7 +37,7 @@
"nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" "kvm-intel" ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
boot.extraModprobeConfig = "options kvm_amd nested=1";
boot.kernelParams = [

View file

@ -1,21 +1,7 @@
{ pkgs, ... }:
{ ... }:
{
virtualisation.libvirtd = {
enable = true;
qemu = {
package = pkgs.qemu_kvm;
runAsRoot = true;
swtpm.enable = true;
ovmf = {
enable = true;
packages = [(pkgs.OVMF.override {
secureBoot = true;
tpmSupport = true;
}).fd];
};
};
};
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
}