refractor

This commit is contained in:
js0ny 2025-10-21 17:34:36 +01:00
parent 3756bbfb45
commit 04492a62c2
11 changed files with 52 additions and 40 deletions

View file

@ -1,30 +0,0 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
virt-manager
dnsmasq
virtiofsd
];
programs.virt-manager.enable = true;
virtualisation.libvirtd = {
enable = true;
qemu = {
package = pkgs.qemu_kvm;
runAsRoot = true;
swtpm.enable = true;
# ovmf = {
# enable = true;
# packages = [
# (pkgs.OVMF.override {
# secureBoot = true;
# tpmSupport = true;
# }).fd
# ];
# };
};
};
users.users.js0ny = {
extraGroups = ["libvirtd"];
};
networking.firewall.trustedInterfaces = ["virbr0"];
virtualisation.spiceUSBRedirection.enable = true;
}