diff options
author | Freya Murphy <freya@freyacat.org> | 2025-03-31 12:42:33 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-03-31 12:42:33 -0400 |
commit | e5a2f8339ecb3c19fb1d5c8555f7bcef15cd03c4 (patch) | |
tree | c3fa102c2a6b439d160c78537b8054aae80e2f09 /nix/system/default.nix | |
parent | update commits (diff) | |
download | dotfiles-nix-e5a2f8339ecb3c19fb1d5c8555f7bcef15cd03c4.tar.gz dotfiles-nix-e5a2f8339ecb3c19fb1d5c8555f7bcef15cd03c4.tar.bz2 dotfiles-nix-e5a2f8339ecb3c19fb1d5c8555f7bcef15cd03c4.zip |
vms
Diffstat (limited to 'nix/system/default.nix')
-rw-r--r-- | nix/system/default.nix | 8 |
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; } |