29 lines
596 B
Nix
29 lines
596 B
Nix
{ config, lib, pkgs, inputs, ... }:
|
|
{
|
|
users.users.nicolaivds.extraGroups = [ "kvm" "input" "libvirtd" ];
|
|
environment.systemPackages = with pkgs; [
|
|
virt-manager
|
|
virt-viewer
|
|
win-spice
|
|
win-virtio
|
|
spice
|
|
spice-gtk
|
|
spice-protocol
|
|
];
|
|
|
|
services.spice-vdagentd.enable = true;
|
|
virtualisation = {
|
|
spiceUSBRedirection.enable = true;
|
|
libvirtd = {
|
|
enable = true;
|
|
allowedBridges = ["wlo1"];
|
|
qemu = {
|
|
swtpm.enable = true;
|
|
ovmf = {
|
|
enable = true;
|
|
packages = [ pkgs.OVMFFull.fd ];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
} |