15 lines
488 B
Nix
15 lines
488 B
Nix
{config, ...}: {
|
|
virtualisation.containers.enable = config.u.has.container;
|
|
virtualisation = {
|
|
podman = {
|
|
enable = config.u.has.container;
|
|
dockerCompat = true;
|
|
defaultNetwork.settings.dns_enabled = true;
|
|
};
|
|
};
|
|
virtualisation.libvirtd.enable = config.u.has.virt;
|
|
programs.virt-manager.enable = config.u.has.graphical && config.u.has.virt;
|
|
programs.nix-ld.enable = true;
|
|
hardware.graphics.enable32Bit = config.u.has.graphical && config.u.has.wine;
|
|
}
|