little firewalls everywhere

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-08-24 01:07:27 -04:00
parent d140f77246
commit 72c617619c
No known key found for this signature in database
GPG Key ID: 1316487BA407ECAF
3 changed files with 3 additions and 1 deletions

View File

@ -33,4 +33,6 @@
}; };
}; };
}; };
firewall.enable = lib.mkDefault true;
} }

View File

@ -2,6 +2,7 @@
{ {
services.openssh = { services.openssh = {
enable = lib.mkDefault true; enable = lib.mkDefault true;
openFirewall = lib.mkDefault true;
fixPermissions = true; fixPermissions = true;
extraConfig = "StreamLocalBindUnlink yes"; extraConfig = "StreamLocalBindUnlink yes";

View File

@ -9,7 +9,6 @@
networking = { networking = {
hostId = "dc2f9781"; hostId = "dc2f9781";
firewall.enable = false;
}; };
systemd.network = { systemd.network = {