nixos-config/nixos/machines/sterni/qemu.nix

17 lines
261 B
Nix
Raw Normal View History

2022-09-23 20:29:18 +02:00
{ config, lib, pkgs, ... }:
{
virtualisation.libvirtd.enable = true;
virtualisation.libvirtd.onShutdown = "shutdown";
environment.systemPackages = [
pkgs.qemu_kvm
pkgs.virt-manager
];
users.users.mainUser.extraGroups = [ "libvirtd" ];
}