initial commit

This commit is contained in:
Lander Van den Bulcke 2024-08-26 09:53:25 +00:00 committed by Lander Van den Bulcke
commit e887d8bc7d
Signed by: lander
GPG key ID: 0142722B4B0C536F
13 changed files with 490 additions and 0 deletions

31
nixos/virt.nix Normal file
View file

@ -0,0 +1,31 @@
{config, pkgs, ... }:
{
programs.dconf.enable = true;
users.users.lander.extraGroups = [ "libvirtd" ];
environment.systemPackages = with pkgs; [
virt-manager
virt-viewer
spice
spice-gtk
spice-protocol
win-virtio
win-spice
gnome.adwaita-icon-theme
];
virtualisation = {
libvirtd = {
enable = true;
qemu = {
swtpm.enable = true;
ovmf.enable = true;
ovmf.packages = [ pkgs.OVMFFull.fd ];
};
};
spiceUSBRedirection.enable = true;
};
services.spice-vdagentd.enable = true;
}