nixos/services/sshd.nix
Evie Litherland-Smith a853475779 Initial convert from traefik to caddy
Move (hopefully) all reverse proxies to caddy
Left off adguard for now, tbd if it needs outside access

Moved service expressions up a level since it was a bit unneccesary before
2023-11-20 08:19:13 +00:00

16 lines
283 B
Nix

{ config, lib, pkgs, ... }:
{
services.openssh = {
enable = true;
ports = [ 22 ];
settings = {
UseDns = true;
PermitRootLogin = "without-password";
PasswordAuthentication = false;
GatewayPorts = "yes";
LogLevel = "VERBOSE";
};
};
}