summaryrefslogblamecommitdiffstats
path: root/programs/virt-manager.nix
blob: b2f3de5b039af6f9ed459f5f8c1c0ee2da149ae3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                              
{ pkgs, username, ... }:
{
    dconf.settings = {
        "org/virt-manager/virt-manager/connections" = {
            autoconnect = ["qemu:///system"];
            uris = ["qemu:///system"];
        };
    };

    xdg.configFile."libvirt/qemu.conf".text = ''
nvram = [
    "/run/libvirt/nix-ovmf/AAVMF_CODE.fd:/run/libvirt/nix-ovmf/AAVMF_VARS.fd",
    "/run/libvirt/nix-ovmf/OVMF_CODE.fd:/run/libvirt/nix-ovmf/OVMF_VARS.fd"
]
    '';
}