summaryrefslogtreecommitdiffstats
path: root/modules/virt
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2024-01-07 12:00:08 -0500
committerJon Santmyer <jon@jonsantmyer.com>2024-01-07 12:00:08 -0500
commit7b79203f54853733d4fae88943829d0e24e6e49f (patch)
treea352d199fad7453332b9308a6295164157729f27 /modules/virt
parent184bd30bcb303104a4981ac742d8f8961c5477e7 (diff)
downloadnix-config-7b79203f54853733d4fae88943829d0e24e6e49f.tar.gz
nix-config-7b79203f54853733d4fae88943829d0e24e6e49f.tar.bz2
nix-config-7b79203f54853733d4fae88943829d0e24e6e49f.zip
massive overhaul
Diffstat (limited to 'modules/virt')
-rw-r--r--modules/virt/default.nix27
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"
-]
- '';
- };
-}