nixos-config/nixos/machines/sterni/qemu.nix
2023-08-14 03:08:56 +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" ];
}