diff options
| author | Kyren223 <Kyren223@proton.me> | 2024-12-24 18:57:09 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2024-12-24 18:57:09 +0200 |
| commit | 2c36da019d4f70fd03014062f30135d421c5da4e (patch) | |
| tree | e6c682e89a124c1e7daab312426172c2940b3cd0 | |
| parent | 87a5338df794cde74b7d96f99a365356ff1dfc56 (diff) | |
Enabled KVM/QEMU, might use it to run some sandboxed windows machines
| -rw-r--r-- | hosts/laptop-nixos/configuration.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hosts/laptop-nixos/configuration.nix b/hosts/laptop-nixos/configuration.nix index 3ce7d43..6e2be58 100644 --- a/hosts/laptop-nixos/configuration.nix +++ b/hosts/laptop-nixos/configuration.nix @@ -186,6 +186,12 @@ }; }; + # Enable KVM/QEMU virtualization + programs.virt-manager.enable = true; + users.groups.libvirtd.members = ["kyren"]; + virtualisation.libvirtd.enable = true; + virtualisation.spiceUSBRedirection.enable = true; + # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ]; |
