mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 13:09:17 -05:00
19 lines
403 B
Nix
19 lines
403 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.alyraffauf.apps.podman.enable {
|
|
virtualisation = {
|
|
oci-containers = {backend = "podman";};
|
|
podman = {
|
|
# Required for containers under podman-compose to be able to talk to each other.
|
|
defaultNetwork.settings.dns_enabled = true;
|
|
enable = true;
|
|
autoPrune.enable = true;
|
|
};
|
|
};
|
|
};
|
|
}
|