From 6507de611098690adf28625f4435657789c23d83 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 21 Jan 2026 13:41:46 +0100 Subject: Revert "module/libvirt: Temporarily enable usb pass through for vms" This reverts commit d81b0c3df79b081d869ebd14b361ff29f61de5ad. It was just temporarily. --- modules/by-name/li/libvirtd/module.nix | 46 ++++++++++++++++------------------ 1 file changed, 22 insertions(+), 24 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 ba5c271c..ba1cc2e1 100644 --- a/modules/by-name/li/libvirtd/module.nix +++ b/modules/by-name/li/libvirtd/module.nix @@ -10,30 +10,28 @@ {...}: { # FIXME(@bpeetz): Do something with this module. <2025-04-04> - 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]; - # }; - # }; - # }; - }; + # 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]; + # }; + # }; + # }; + # }; # users.users.soispha.extraGroups = [ # "libvirtd" # to run libvirt stuff as this user # ]; -- cgit 1.4.1