Files
nix-config/osConfigs/modules/vboxHost.nix
tomoron 5b3d74179b
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 11m57s
set virtualmanager as module, trying to fix nvidia stutter screens lag stutter, remove docker legacy version (latest probably fixed)
2025-07-03 14:58:19 +02:00

17 lines
459 B
Nix

{ config, lib, inputs, pkgs, ... }:
{
options.mods.virtualManager.enable = lib.mkOption {
type = lib.types.bool;
default = true;
description = "enable virtual manager as host";
};
config = lib.mkIf config.mods.virtualManager.enable {
programs.virt-manager.enable = true;
virtualisation.libvirtd.enable = true;
virtualisation.libvirtd.qemu.runAsRoot = true;
virtualisation.libvirtd.qemu.vhostUserPackages = [ pkgs.virtiofsd ];
};
}