[nidaros] Copy security config from pi4

This commit is contained in:
2025-10-13 21:40:13 +02:00
parent e7240d511e
commit b1dd673fc5
2 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
{ common, ... }:
{
networking = {
firewall = {
enable = true;
allowedTCPPorts = [
80
443
];
extraInputRules = ''
ip saddr ${common.localIpRange} accept
'';
};
nftables.enable = true;
};
}