From 3b726039cd9fdbb6f404a9623396fff58c615181 Mon Sep 17 00:00:00 2001 From: ooks-io Date: Fri, 20 Oct 2023 11:53:01 +1300 Subject: [PATCH] change: move vm to system --- .../opt/desktop/vm/default.nix => system/common/opt/vm.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename home/ooks/opt/desktop/vm/default.nix => system/common/opt/vm.nix (91%) diff --git a/home/ooks/opt/desktop/vm/default.nix b/system/common/opt/vm.nix similarity index 91% rename from home/ooks/opt/desktop/vm/default.nix rename to system/common/opt/vm.nix index 0edfe70..d29d779 100644 --- a/home/ooks/opt/desktop/vm/default.nix +++ b/system/common/opt/vm.nix @@ -1,9 +1,10 @@ - {config, pkgs, ... }: { programs.dconf.enable = true; + users.users.gcis.extraGroups = [ "libvirtd" ]; + environment.systemPackages = with pkgs; [ virt-manager virt-viewer @@ -28,3 +29,4 @@ }; services.spice-vdagentd.enable = true; } +