changed firewall and docker autoprune

This commit is contained in:
Wekuz 2025-11-23 10:45:01 +02:00
parent a8a8e8da43
commit cf925ec50a
Signed by: Wekuz
GPG key ID: 2E502F2AABD32DF9

View file

@ -37,7 +37,8 @@
networking = {
hostName = "opti";
networkmanager.enable = true;
firewall.allowedTCPPorts = [ 22 ];
nftables.enable = true;
firewall.allowedTCPPorts = [ 22 80 443 ];
};
services.openssh = {
@ -52,6 +53,8 @@
autoPrune = {
enable = true;
dates = "weekly";
randomizedDelaySec = "30min";
flags = [ "--all" "--volumes" ];
};
};
};