6a3ff12527
- Restructure - Add sops+age
15 lines
297 B
Nix
15 lines
297 B
Nix
{ config, ... }:
|
|
{
|
|
services.openssh = {
|
|
enable = true;
|
|
ports = [ 6969 ];
|
|
settings = {
|
|
PasswordAuthentication = false;
|
|
PermitEmptyPasswords = false;
|
|
KbdInteractiveAuthentication = false;
|
|
PermitRootLogin = "no";
|
|
PubkeyAuthentication = true;
|
|
};
|
|
};
|
|
}
|