diff options
Diffstat (limited to 'modules/virt')
-rw-r--r-- | modules/virt/default.nix | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/modules/virt/default.nix b/modules/virt/default.nix deleted file mode 100644 index 2b6e8f7..0000000 --- a/modules/virt/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ config, lib, pkgs, user, ... }: -{ - config = { - virtualisation.libvirtd.enable = true; - environment.systemPackages = with pkgs; [ - virt-manager - libguestfs - guestfs-tools - ]; - }; - - config.home-manager.users.${user} = { - 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" -] - ''; - }; -} |