forked from lukas/nixos-config
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.
14 lines
351 B
Nix
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;
|
|
};
|
|
};
|
|
}
|