This commit is contained in:
Noa Aarts 2025-04-05 19:51:22 +02:00
parent f6c6aff35a
commit 63dba4f08c
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -192,6 +192,24 @@
serviceConfig.ExecStart = "${pkgs.linuxPackages.nvidia_x11.bin}/bin/nvidia-smi"; serviceConfig.ExecStart = "${pkgs.linuxPackages.nvidia_x11.bin}/bin/nvidia-smi";
}; };
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
];
};
};
};
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default