1
0
Fork 0
forked from lukas/nixos-config
nixos-config/hosts/globalServices/sshd.nix
pijukka 68d8526542 secrets: remove plaintext credentials
Move service credentials and Wi-Fi keys behind agenix, rotate exposed LLDAP and Vikunja credentials, disable SSH password authentication, and remove obsolete CLAUDE.md guidance.
2026-07-28 01:26:10 +02:00

14 lines
351 B
Nix

{ config, pkgs, lib, ... }:
{
services.openssh = {
enable = true;
settings = {
KbdInteractiveAuthentication = false;
PasswordAuthentication = false;
PermitRootLogin = "no";
UsePAM = false;
# doesnt consider permissions of user and groups etc of .ssh and authorized_keys
StrictModes = false;
};
};
}