fixing mealie via compose2nix

This commit is contained in:
2025-12-08 12:46:15 -07:00
parent 0f8348d3fe
commit 210768d538
3 changed files with 170 additions and 4 deletions

View File

@@ -0,0 +1,20 @@
{ pkgs, lib, config, ... }:
{
# Runtime
virtualisation.podman = {
enable = true;
autoPrune.enable = true;
dockerCompat = true;
};
# Enable container name DNS for all Podman networks.
networking.firewall.interfaces = let
matchAll = if !config.networking.nftables.enable then "podman+" else "podman*";
in {
"${matchAll}".allowedUDPPorts = [ 53 ];
};
virtualisation.oci-containers.backend = "podman";
}