nixos-config/profiles/virtualisation.nix

13 lines
295 B
Nix
Raw Normal View History

2021-01-21 22:13:53 +04:00
{ config, ... }: {
virtualisation.docker.enable = config.deviceSpecific.isHost;
virtualisation.libvirtd = {
enable = config.deviceSpecific.isHost;
};
virtualisation.spiceUSBRedirection.enable = true;
2021-05-28 21:23:16 +04:00
networking.nat = {
enable = true;
internalInterfaces = ["ve-+"];
};
2021-01-21 22:13:53 +04:00
}