l libvirt: enable polkit

This commit is contained in:
lassulus 2022-12-02 17:31:25 +01:00
parent 8a6f835acb
commit 0c54380529

View File

@ -1,8 +1,8 @@
{ config, lib, pkgs, ... }:
{
users.users.mainUser.extraGroups = [ "libvirtd" ];
virtualisation.libvirtd.enable = true;
security.polkit.enable = true;
krebs.iptables.tables.filter.INPUT.rules = [
{ v6 = false; predicate = "-i virbr0 -p udp -m udp --dport 53"; target = "ACCEPT"; }