moved virtualization into homelab subfolder

This commit is contained in:
Aly Raffauf 2024-03-12 22:37:30 -04:00
parent d6c2be09f7
commit cbc6343735
2 changed files with 22 additions and 1 deletions

View file

@ -2,7 +2,7 @@
{ {
imports = [ imports = [
../virtualization ./virtualization
./reverse_proxy ./reverse_proxy
]; ];

View file

@ -0,0 +1,21 @@
{ pkgs, ... }:
{
programs.virt-manager.enable = true;
virtualisation = {
libvirtd.enable = true;
podman = {
enable = true;
# Create a `docker` alias for podman, to use it as a drop-in replacement
dockerCompat = true;
# Required for containers under podman-compose to be able to talk to each other.
defaultNetwork.settings.dns_enabled = true;
};
oci-containers = {
backend = "podman";
};
};
}