frues-clan/modules/virtualisation.nix
Pedro Rey Anca f89d2c33e0
Some checks failed
Flake check / check (push) Has been cancelled
Update `flake.lock` / update_lockfile (push) Has been cancelled
Update to 25.11
2025-12-02 13:24:21 +01:00

28 lines
502 B
Nix

{ pkgs, ... }:
{
# Install necessary packages
environment.systemPackages = with pkgs; [
virt-manager
virt-viewer
spice
spice-gtk
spice-protocol
virtio-win
win-spice
adwaita-icon-theme
lxqt.lxqt-openssh-askpass
];
# Manage the virtualisation services
virtualisation = {
libvirtd = {
enable = true;
qemu = {
swtpm.enable = true;
};
};
spiceUSBRedirection.enable = true;
};
services.spice-vdagentd.enable = true;
}