mirror of
https://codeberg.org/muon/home.git
synced 2026-07-03 23:49:35 +00:00
Add virt-manager
This commit is contained in:
parent
89896cdaee
commit
ff7b779a5f
1 changed files with 12 additions and 1 deletions
|
|
@ -30,9 +30,20 @@ in {
|
|||
"libsoup-2.74.3"
|
||||
];
|
||||
|
||||
users.users.muon.extraGroups = ["docker"];
|
||||
users.users.muon.extraGroups = ["docker" "libvirtd" "kvm"];
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
# Libvirt / QEMU (Windows 11 VM support)
|
||||
virtualisation.libvirtd = {
|
||||
enable = true;
|
||||
qemu = {
|
||||
# OVMF/UEFI firmware now ships by default with QEMU (option removed upstream)
|
||||
swtpm.enable = true; # emulated TPM 2.0 (Windows 11 requirement)
|
||||
};
|
||||
};
|
||||
programs.virt-manager.enable = true;
|
||||
virtualisation.spiceUSBRedirection.enable = true; # camera/mic over SPICE
|
||||
|
||||
# System
|
||||
mods.user.name = "muon";
|
||||
networking.hostName = cfg.user.name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue