FIX: changes in Nix definitions

This commit is contained in:
DuN0z 2025-10-05 00:29:24 +02:00
parent be424966eb
commit 4c05e76d00
2 changed files with 13 additions and 6 deletions

View file

@ -1,6 +1,7 @@
{
lib,
pkgs,
config,
...
}: {
boot.kernelModules = lib.mkAfter ["tun"];
@ -21,14 +22,21 @@
virtualisation.libvirtd = {
enable = true;
qemu = {
swtpm.enable = true;
qemu =
if lib.versionOlder config.system.nixos.release "25.11"
then {
ovmf.enable = true;
ovmf.packages = [pkgs.OVMFFull.fd];
runAsRoot = false;
swtpm.enable = true;
} else {
runAsRoot = false;
swtpm.enable = true;
};
};
users.users.lomig.extraGroups = ["libvirtd" "kvm" "input"];
environment.etc."qemu/bridge.conf".text = ''

View file

@ -25,7 +25,6 @@
libva-vdpau-driver
vaapiVdpau
libvdpau-va-gl
amdvlk
vulkan-tools
vulkan-loader
vulkan-validation-layers