From d81b0c3df79b081d869ebd14b361ff29f61de5ad Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 21 Jan 2026 13:33:28 +0100 Subject: module/libvirt: Temporarily enable usb pass through for vms --- modules/by-name/li/libvirtd/module.nix | 46 ++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 22 deletions(-) (limited to 'modules/by-name/li') 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 # ]; -- cgit 1.4.1