nixos-config/system/app/virtualization.nix

15 lines
332 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
2023-10-29 07:13:37 +05:30
{
2023-12-30 22:35:40 +05:30
environment.systemPackages = with pkgs; [ virt-manager virtualbox distrobox ];
2023-10-29 07:13:37 +05:30
virtualisation.libvirtd = {
allowedBridges = [
"nm-bridge"
"virbr0"
];
enable = true;
2024-02-29 07:22:29 +05:30
qemu.runAsRoot = false;
2023-10-29 07:13:37 +05:30
};
boot.extraModulePackages = with config.boot.kernelPackages; [ virtualbox ];
2023-10-29 07:13:37 +05:30
}