nix-config/hosts/common/global/podman.nix

11 lines
258 B
Nix
Raw Normal View History

2023-12-24 11:16:59 +01:00
{config, ...}: let
dockerEnabled = config.virtualisation.docker.enable;
in {
virtualisation.podman = {
enable = true;
dockerCompat = !dockerEnabled;
dockerSocket.enable = !dockerEnabled;
defaultNetwork.settings.dns_enabled = true;
};
}