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
2 changed files with 121 additions and 4 deletions

View file

@ -5,7 +5,7 @@
../common.nix
../../services/openssh.nix
../../services/prometheus-node.nix
./podman.nix
../../services/podman.nix
./forgejo-runner.nix
];

View file

@ -1,36 +0,0 @@
{ ... }:
{
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";
}
];
};
};
}