diff --git a/hosts/totsugeki/home-manager/desktop/default.nix b/hosts/totsugeki/home-manager/desktop/default.nix index 1fb7cf7..8d8d194 100644 --- a/hosts/totsugeki/home-manager/desktop/default.nix +++ b/hosts/totsugeki/home-manager/desktop/default.nix @@ -10,6 +10,12 @@ ./sway.nix ./qt.nix ]; + dconf.settings = { + "org/virt-manager/virt-manager/connections" = { + autoconnect = [ "qemu:///system" ]; + uris = [ "qemu:///system" ]; + }; + }; home = { packages = with pkgs; [ gimp diff --git a/hosts/totsugeki/nixos/default.nix b/hosts/totsugeki/nixos/default.nix index bcb8d3b..ff80f74 100644 --- a/hosts/totsugeki/nixos/default.nix +++ b/hosts/totsugeki/nixos/default.nix @@ -86,6 +86,7 @@ dconf.enable = true; nix-ld.enable = true; hyprland.enable = true; + virt-manager.enable = true; }; security.polkit = { enable = true; }; @@ -227,8 +228,12 @@ age.keyFile = "/home/avery/.config/sops/age/keys.txt"; }; - virtualisation.virtualbox.host.enable = true; system.stateVersion = "24.05"; - users.users.avery.extraGroups = [ "corectrl" ]; + virtualisation = { + libvirtd.enable = true; + spiceUSBRedirection = true; + }; + + users.users.avery.extraGroups = [ "corectrl" "libvirt" ]; }