11 lines
258 B
Nix
11 lines
258 B
Nix
|
{config, ...}: let
|
||
|
dockerEnabled = config.virtualisation.docker.enable;
|
||
|
in {
|
||
|
virtualisation.podman = {
|
||
|
enable = true;
|
||
|
dockerCompat = !dockerEnabled;
|
||
|
dockerSocket.enable = !dockerEnabled;
|
||
|
defaultNetwork.settings.dns_enabled = true;
|
||
|
};
|
||
|
}
|