add vnc and add it to focalor

This commit is contained in:
waveringana 2025-06-11 02:59:19 -04:00
parent b3d97cdc5f
commit 7fcf7e9bfb
4 changed files with 78 additions and 18 deletions

View file

@ -1,19 +1,23 @@
programs.virt-manager.enable = true;
virtualisation.spiceUSBRedirection.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];
{ config, lib, system, pkgs, modulesPath, inputs, ... }:
{
programs.virt-manager.enable = true;
virtualisation.spiceUSBRedirection.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.extraUsers.regent.extraGroups = [ "libvirtd" ];
users.extraUsers.regent.extraGroups = [ "libvirtd" ];
}