summaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-03-31 12:42:33 -0400
committerFreya Murphy <freya@freyacat.org>2025-03-31 12:42:33 -0400
commite5a2f8339ecb3c19fb1d5c8555f7bcef15cd03c4 (patch)
treec3fa102c2a6b439d160c78537b8054aae80e2f09 /nix
parentupdate commits (diff)
downloaddotfiles-nix-e5a2f8339ecb3c19fb1d5c8555f7bcef15cd03c4.tar.gz
dotfiles-nix-e5a2f8339ecb3c19fb1d5c8555f7bcef15cd03c4.tar.bz2
dotfiles-nix-e5a2f8339ecb3c19fb1d5c8555f7bcef15cd03c4.zip
vms
Diffstat (limited to 'nix')
-rw-r--r--nix/system/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/nix/system/default.nix b/nix/system/default.nix
index 0ed8ccb..2338fe4 100644
--- a/nix/system/default.nix
+++ b/nix/system/default.nix
@@ -88,7 +88,7 @@
users.users.${config.user} = {
isNormalUser = true;
description = config.fullName;
- extraGroups = [ "networkmanager" "wheel" "sys" "video" "audio" "docker" ];
+ extraGroups = [ "networkmanager" "wheel" "sys" "video" "audio" "docker" "libvirtd" ];
home = config.homePath;
shell = pkgs.zsh;
};
@@ -138,4 +138,10 @@
];
};
};
+
+ # vms
+ programs.virt-manager.enable = true;
+ users.groups.libvirtd.members = [config.user];
+ virtualisation.libvirtd.enable = true;
+ virtualisation.spiceUSBRedirection.enable = true;
}