infra/hosts/forgejo-runner/podman.nix

28 lines
531 B
Nix

{ ... }:
{
#boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = true;
virtualisation.podman = {
enable = true;
dockerSocket.enable = true;
autoPrune = {
enable = true;
dates = "weekly";
};
defaultNetwork.settings = {
dns_enabled = true;
#ipv6_enabled = true;
subnets = [
{
gateway = "10.88.0.1";
subnet = "10.88.0.0/16";
}
#{
# gateway = "fd10:88::1";
# subnet = "fd10:88::/64";
#}
];
};
};
}