mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 15:15:52 +05:30
15 lines
331 B
Nix
15 lines
331 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
environment.systemPackages = with pkgs; [ virt-manager virtualbox distrobox ];
|
|
virtualisation.libvirtd = {
|
|
allowedBridges = [
|
|
"nm-bridge"
|
|
"virbr0"
|
|
];
|
|
enable = true;
|
|
qemuRunAsRoot = false;
|
|
};
|
|
boot.extraModulePackages = with config.boot.kernelPackages; [ virtualbox ];
|
|
}
|