mediaserver: enable podman for bazarr-sync container policy

Standalone podman run calls need virtualisation.podman.enable to get a
valid /etc/containers/policy.json. OCI container services got this
implicitly but our direct podman invocations did not.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
rope 2026-05-19 10:54:44 +01:00
parent 39d5a95866
commit 6f3845aa1b

View file

@ -134,6 +134,9 @@ in
{
config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") {
# Ensure podman is available with a valid container policy
virtualisation.podman.enable = true;
# Persistent directory for the generated config.yaml
systemd.tmpfiles.rules = [
"d /var/lib/bazarr-sync 0700 root root -"