nixos-config/nixos/legacy/sterni/qemu.nix
2024-05-30 09:34:10 +02:00

16 lines
261 B
Nix

{ config, lib, pkgs, ... }:
{
virtualisation.libvirtd.enable = true;
virtualisation.libvirtd.onShutdown = "shutdown";
environment.systemPackages = [
pkgs.qemu_kvm
pkgs.virt-manager
];
users.users.mainUser.extraGroups = [ "libvirtd" ];
}