diff options
| author | Christian Krinitsin <code@krinitsin.xyz> | 2025-02-26 13:01:03 +0100 |
|---|---|---|
| committer | Christian Krinitsin <code@krinitsin.xyz> | 2025-02-26 13:01:03 +0100 |
| commit | b34aaf1162115147b202a9f1cfda208a189d5bb6 (patch) | |
| tree | 8989939780ae9e86096f6b96ac0f0a71fb41954d /modules/ssh.nix | |
| parent | dc0eb0ec4674ee97a7bbf0070ce841afbf47b994 (diff) | |
| download | nosix-b34aaf1162115147b202a9f1cfda208a189d5bb6.tar.gz nosix-b34aaf1162115147b202a9f1cfda208a189d5bb6.zip | |
refactor configuration
Diffstat (limited to 'modules/ssh.nix')
| -rw-r--r-- | modules/ssh.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/ssh.nix b/modules/ssh.nix new file mode 100644 index 0000000..44580d7 --- /dev/null +++ b/modules/ssh.nix @@ -0,0 +1,10 @@ +{ config, libs, pkgs, ... }: +{ + + services.openssh = { + enable = true; + settings.PasswordAuthentication = false; + }; + networking.firewall.allowedTCPPorts = [ 22 ]; + +} |