about summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-01-21 13:33:28 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-01-21 13:33:28 +0100
commitd81b0c3df79b081d869ebd14b361ff29f61de5ad (patch)
treecc0d213d1aa5d75808f70a982d2ae06a5e98aab7 /modules
parentmodule/nvim/plgs/treesitter: Disable automatic folding (diff)
downloadnixos-config-d81b0c3df79b081d869ebd14b361ff29f61de5ad.zip
module/libvirt: Temporarily enable usb pass through for vms
Diffstat (limited to 'modules')
-rw-r--r--modules/by-name/li/libvirtd/module.nix46
1 files changed, 24 insertions, 22 deletions
diff --git a/modules/by-name/li/libvirtd/module.nix b/modules/by-name/li/libvirtd/module.nix
index ba1cc2e1..ba5c271c 100644
--- a/modules/by-name/li/libvirtd/module.nix
+++ b/modules/by-name/li/libvirtd/module.nix
@@ -10,28 +10,30 @@
 {...}: {
   # FIXME(@bpeetz): Do something with this module. <2025-04-04>
 
-  # virtualisation = {
-  # spiceUSBRedirection.enable = true; # TODO: this allows usb access to any user, which shouldn't be that bad
-  #    cores = 8;
-  #    diskSize = 25000;
-  #    useEFIBoot = true;
-  #    resolution = {
-  #      x = 1920;
-  #      y = 1080;
-  #    };
-  #    memorySize = 8024;
-  #    sharedDirectories = {}; # TODO: add some
-  #   libvirtd = {
-  #     enable = true;
-  #     qemu = {
-  #       package = pkgs.qemu_full;
-  #       ovmf = {
-  #         enable = true;
-  #         packages = [pkgs.OVMFFull.fd];
-  #       };
-  #     };
-  #   };
-  # };
+  virtualisation = {
+    # NOTE: this allows usb access to any user, which shouldn't be that bad
+    spiceUSBRedirection.enable = true;
+
+    # cores = 8;
+    # diskSize = 25000;
+    # useEFIBoot = true;
+    # resolution = {
+    #   x = 1920;
+    #   y = 1080;
+    # };
+    # memorySize = 8024;
+    # sharedDirectories = {}; # TODO: add some
+    # libvirtd = {
+    #   enable = true;
+    #   qemu = {
+    #     package = pkgs.qemu_full;
+    #     ovmf = {
+    #       enable = true;
+    #       packages = [pkgs.OVMFFull.fd];
+    #     };
+    #   };
+    # };
+  };
   # users.users.soispha.extraGroups = [
   #   "libvirtd" # to run libvirt stuff as this user
   # ];