aboutsummaryrefslogtreecommitdiff
path: root/profiles/network/firewall.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-08-12 10:12:39 -0700
committerFranck Cuny <franck@fcuny.net>2025-08-12 10:12:39 -0700
commit6adb943f580162ea6348e3910926fc2fcefcfa79 (patch)
treed802fd738ffed6eaa508acfd5d0c98b38331fab5 /profiles/network/firewall.nix
parentadd a profile for boot (diff)
downloadinfra-6adb943f580162ea6348e3910926fc2fcefcfa79.tar.gz
add profiles for security, firewalls, and users
Diffstat (limited to 'profiles/network/firewall.nix')
-rw-r--r--profiles/network/firewall.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/profiles/network/firewall.nix b/profiles/network/firewall.nix
new file mode 100644
index 0000000..1b30c84
--- /dev/null
+++ b/profiles/network/firewall.nix
@@ -0,0 +1,10 @@
+{ ... }:
+{
+ networking = {
+ firewall = {
+ enable = false;
+ allowPing = true;
+ logRefusedConnections = false;
+ };
+ };
+}