modules.services.kvm: fix

This commit is contained in:
2025-06-15 12:36:17 +08:00
parent 5f909eed0c
commit bfeeb85235

View File

@@ -50,7 +50,7 @@ inputs:
options = "bind";
wantedBy = [ "local-fs.target" ];
}];
# workaround a libvirt bug
# libvirt does not setup "allow udp {53, 67}" by default
# https://github.com/NixOS/nixpkgs/issues/263359#issuecomment-1987267279
networking.firewall.interfaces."virbr*".allowedUDPPorts = [ 53 67 ];
hardware.ksm.enable = true;