diff --git a/home-manager/home.nix b/home-manager/home.nix index df79fb8..b2b4889 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -95,4 +95,12 @@ # Let Home Manager install and manage itself. programs.home-manager.enable = true; + + # Home manager settings + dconf.settings = { + "org/virt-manager/virt-manager/connections" = { + autoconnect = ["qemu:///system"]; + uris = ["qemu:///system"]; + }; + }; } diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 0eb8672..d118a0c 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -190,7 +190,7 @@ users.users.crony = { isNormalUser = true; description = "Crony"; - extraGroups = [ "networkmanager" "wheel" "video" "input" "audio" ]; + extraGroups = [ "networkmanager" "wheel" "video" "input" "audio" "libvirtd" ]; shell = pkgs.zsh; }; @@ -239,6 +239,10 @@ value = "1048576"; }]; + # Enable virt manager + virtualisation.libvirtd.enable = true; + programs.virt-manager.enable = true; + # DO NOT CHANGE system.stateVersion = "23.11";