diff options
| author | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2025-05-08 23:29:41 +0200 |
|---|---|---|
| committer | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2025-05-08 23:32:32 +0200 |
| commit | b97209171ce216d3f31ed42856c5d5d95c808025 (patch) | |
| tree | 68d6064967e4d5fb2244b4072c7e0b39d11e1cf3 /nixos/hosts/apocalypse/default.nix | |
| parent | 40f6e567cd1c8bd893d92b40487571847799c647 (diff) | |
openssh and firewall changes
Diffstat (limited to '')
| -rw-r--r-- | nixos/hosts/apocalypse/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/nixos/hosts/apocalypse/default.nix b/nixos/hosts/apocalypse/default.nix index a84d07d..a6e6233 100644 --- a/nixos/hosts/apocalypse/default.nix +++ b/nixos/hosts/apocalypse/default.nix @@ -69,6 +69,20 @@ # Firmware updates services.fwupd.enable = true; + + services.openssh = { + enable = true; + ports = [22]; + openFirewall = false; + allowSFTP = false; + settings = { + PasswordAuthentication = false; + AllowUsers = ["wilkuu"]; + X11Forwarding = false; + PermitRootLogin = "no"; + PrintMotd = true; + }; + }; } |
