summaryrefslogtreecommitdiffstats
path: root/lass/2configs/libvirt.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-12-02 17:31:25 +0100
committerlassulus <lassulus@lassul.us>2022-12-02 17:31:25 +0100
commit0c54380529411e8b8bfff83a377343f38c57c21c (patch)
tree2385d00f6ae78350b14fbb77bdd403b85a0613e3 /lass/2configs/libvirt.nix
parent8a6f835acb621cacabb0a3d158c26a0fcacf9e7d (diff)
l libvirt: enable polkit
Diffstat (limited to 'lass/2configs/libvirt.nix')
-rw-r--r--lass/2configs/libvirt.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lass/2configs/libvirt.nix b/lass/2configs/libvirt.nix
index 78d5ae0e9..d391e0d7b 100644
--- a/lass/2configs/libvirt.nix
+++ b/lass/2configs/libvirt.nix
@@ -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"; }