From 4d1a5340558c732430d40a9b43ce7314e1b48a3d Mon Sep 17 00:00:00 2001
From: Zynh Ludwig <zynh0722@gmail.com>
Date: Thu, 27 Mar 2025 22:30:43 -0700
Subject: [PATCH] snowhawk: libvirtd and qemu stuff

---
 hosts/snowhawk/configuration.nix | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/hosts/snowhawk/configuration.nix b/hosts/snowhawk/configuration.nix
index 78ed17b..dddb92f 100644
--- a/hosts/snowhawk/configuration.nix
+++ b/hosts/snowhawk/configuration.nix
@@ -146,6 +146,8 @@
   };
 
   environment.systemPackages = with pkgs; [
+    mysql-workbench
+
     # FIXME: extract to theme module?
     pkgs.rose-pine-gtk-theme
     pkgs.rose-pine-icon-theme
@@ -197,8 +199,16 @@
   # Also recommended, either as an alternative or in addition
   zramSwap.enable = true;
 
+  virtualisation.docker.enable = true;
+  users.users.ravenshade.extraGroups = [ "docker" "libvirtd" ];
+
   virtualisation = {
-    libvirtd.enable = true;
+    libvirtd = {
+      enable = true;
+      qemu = {
+        package = pkgs.qemu_kvm;
+      };
+    };
   };
 
   programs.virt-manager.enable = true;