add prusa-connect
Some checks failed
Test Nix flake / Test nix flake (push) Has been cancelled

This commit is contained in:
XenGi 2026-11-21 00:05:19 +01:00
commit 50b333a5a9
Signed by: xengi
SSH key fingerprint: SHA256:jxWM2RTHvxxcncXycwwWkP7HCWb4VREN05UGJTbIPZg

36
services/podman.nix Normal file
View file

@ -0,0 +1,36 @@
{ ... }:
{
boot.kernel.sysctl = {
"net.ipv6.conf.all.forwarding" = true;
"net.ipv4.conf.all.forwarding" = true;
};
networking.firewall.interfaces.podman1 = {
allowedTCPPorts = [ 53 ];
allowedUDPPorts = [ 53 ];
};
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";
}
];
};
};
}