aboutsummaryrefslogtreecommitdiff
path: root/modules/common/default.nix
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2025-07-30 16:53:40 +0200
committerMax Audron <audron@cocaine.farm>2025-07-30 16:53:40 +0200
commit80abf0577c962e8d5a71e586f020953f939d90c6 (patch)
treedac85c2a5d5d99cbb2fb61824924ddbe8a113042 /modules/common/default.nix
parentadd initial prometheus deployment (diff)
enable firewalls
Diffstat (limited to 'modules/common/default.nix')
-rw-r--r--modules/common/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/common/default.nix b/modules/common/default.nix
index 4a2bfd3..ed45914 100644
--- a/modules/common/default.nix
+++ b/modules/common/default.nix
@@ -20,10 +20,10 @@
nixpkgs.config.allowUnfree = true;
# Security
- networking.firewall.enable = false;
security.sudo.wheelNeedsPassword = false;
services.openssh = {
enable = true;
+ openFirewall = true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";