summaryrefslogtreecommitdiffstats
path: root/programs/virt-manager.nix
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2023-09-27 20:04:34 -0400
committerJon Santmyer <jon@jonsantmyer.com>2023-09-27 20:04:34 -0400
commitbcb39f3a7016f5f15696390210721dc7608b9617 (patch)
tree73ba0e9dc17fc51c49960ff28b04861d284914c8 /programs/virt-manager.nix
parentfb8d2e44a70a2e585d9da9f0a1cfe1d2c9a7b902 (diff)
downloadnix-config-bcb39f3a7016f5f15696390210721dc7608b9617.tar.gz
nix-config-bcb39f3a7016f5f15696390210721dc7608b9617.tar.bz2
nix-config-bcb39f3a7016f5f15696390210721dc7608b9617.zip
awesome: redo topbar.
reworking systems org
Diffstat (limited to 'programs/virt-manager.nix')
-rw-r--r--programs/virt-manager.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/programs/virt-manager.nix b/programs/virt-manager.nix
new file mode 100644
index 0000000..b2f3de5
--- /dev/null
+++ b/programs/virt-manager.nix
@@ -0,0 +1,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"
+]
+ '';
+}