about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-02-03 16:07:47 +0900
committersefidel <contact@sefidel.net>2024-02-03 16:07:47 +0900
commit761677b8799147598c040c6aebd5748c457c9a55 (patch)
tree99210bd19c1db736295f744ebe41d00f132223f8
parentbe4fbf283ef0d7d668d263947c7b67318937bfc0 (diff)
downloadnixrc-761677b8799147598c040c6aebd5748c457c9a55.tar.gz
nixrc-761677b8799147598c040c6aebd5748c457c9a55.zip
feat(nixos/alpha): configure virt-manager
-rw-r--r--nixos/alpha/configuration.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index ac2c582..74968bf 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -201,6 +201,7 @@
     "/etc/NetworkManager/system-connections"
     "/var/lib/bluetooth"
     "/var/lib/tailscale"
+    "/var/lib/libvirt"
     "/etc/cups"
   ];
 
@@ -209,6 +210,10 @@
   programs.dconf.enable = true;
   services.gnome.gnome-keyring.enable = true;
 
+  virtualisation.libvirtd.enable = true;
+  virtualisation.spiceUSBRedirection.enable = false;
+  programs.virt-manager.enable = true;
+
   services.tailscale.enable = true;
   services.tailscale.useRoutingFeatures = "both";
   programs.trayscale.enable = true;
@@ -356,6 +361,7 @@
         "audio"
         "networkmanager"
         "plugdev"
+        "libvirtd"
       ];
     };
   };