Virt-manager: Difference between revisions
imported>Zaechus m Minor grammar and formatting changes |
imported>Timokau Add declarative way of configuring the default hypervisor. |
||
Line 22: | Line 22: | ||
Connect | Connect | ||
</pre> | </pre> | ||
The same can also be achieved decoratively by setting the corresponding dconf settings with home-manager. If you want to do this instead of the imperative configuration described above, add the following snippet to your home-manager configuration: | |||
<syntaxhighlight lang="nix"> | |||
dconf.settings = { | |||
"org/virt-manager/virt-manager/connections" = { | |||
autoconnect = ["qemu:///system"]; | |||
uris = ["qemu:///system"]; | |||
}; | |||
}; | |||
</syntaxhighlight> | |||
You can get the following error : | You can get the following error : |