This commit is contained in:
Daylin Morgan 2024-12-02 14:31:17 -06:00
parent b45c21d50a
commit 389f855de3
Signed by: daylin
GPG key ID: 950D13E9719334AD
2 changed files with 36 additions and 3 deletions

View file

@ -15,9 +15,16 @@
}
// (
''
vpn|desktop|hyprland|chrome
backups|hp-scanner|llm
podman|docker|vbox
desktop
hyprland
chrome
vpn
backups
llm
hp-scanner
vbox
podman
docker
''
|> listify
|> enableAttrs

26
hosts/othalan/virt.nix Normal file
View file

@ -0,0 +1,26 @@
{
pkgs,
enabled,
...
}:
{
programs.virt-manager = enabled;
virtualisation = {
libvirtd = enabled // {
# Enable TPM emulation (optional)
qemu = {
swtpm = enabled;
ovmf.packages = [ pkgs.OVMFFull.fd ];
};
};
# Enable USB redirection (optional)
spiceUSBRedirection = enabled;
};
users.users.daylin = {
extraGroups = [ "libvirtd" ];
};
}