nixos/services/virt-manager.nix

18 lines
336 B
Nix
Raw Normal View History

2024-12-07 22:53:20 +01:00
{
config,
lib,
...
}:
with lib;
mkIf (elem "virt-manager" config.machine.services) {
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = [ "qemu:///system" ];
uris = [ "qemu:///system" ];
};
};
}