summaryrefslogtreecommitdiff
path: root/system/virt/qemu.nix
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-09-17 22:07:16 -0400
committerFreya Murphy <freya@freyacat.org>2025-09-17 22:07:16 -0400
commit68d03fe362b7e0df11662d8d6a1e01eac0bfae77 (patch)
treea76abd05f662f73b4083ddb0d8bf0d72c29e5a74 /system/virt/qemu.nix
parentupdate commits (diff)
downloaddotfiles-nix-68d03fe362b7e0df11662d8d6a1e01eac0bfae77.tar.gz
dotfiles-nix-68d03fe362b7e0df11662d8d6a1e01eac0bfae77.tar.bz2
dotfiles-nix-68d03fe362b7e0df11662d8d6a1e01eac0bfae77.zip
refactor: remove modules folder, fully split home and system modules
Diffstat (limited to '')
-rw-r--r--system/virt/qemu.nix (renamed from modules/virt/qemu.nix)4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/virt/qemu.nix b/system/virt/qemu.nix
index f755952..6c068e4 100644
--- a/modules/virt/qemu.nix
+++ b/system/virt/qemu.nix
@@ -5,9 +5,9 @@
...
}: let
inherit (lib) mkIf;
- cfg = config.virt;
+ cfg = config.virt.qemu;
in {
- config = mkIf cfg.qemu {
+ config = mkIf cfg.enable {
programs.virt-manager.enable = true;
users.groups.kvm.members = [config.user];
users.groups.libvirtd.members = [config.user];