nixos/modules/home-manager/containers-policy.nix
2026-01-21 23:58:24 +01:00

14 lines
366 B
Nix

{ pkgs, ... }:
{
# Rootless podman policy configuration
# Required for user-level podman to pull container images
home.file.".config/containers/policy.json".text = builtins.toJSON {
default = [ { type = "insecureAcceptAnything"; } ];
transports = {
docker-daemon = {
"" = [ { type = "insecureAcceptAnything"; } ];
};
};
};
}