add ssh server

This commit is contained in:
matiss
2026-04-20 15:24:07 +00:00
parent 42f28042fb
commit 1e5eae3c2e
2 changed files with 15 additions and 0 deletions

14
modules/system/ssh.nix Normal file
View File

@@ -0,0 +1,14 @@
# ==========================================
# SSH SERVER CONFIGURATION
# ==========================================
{ config, pkgs, ... }:
{
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = true; # Change to false once you add SSH keys
};
};
}