nix-config/hosts/containers/gitea/modules/ssh.nix

15 lines
235 B
Nix
Raw Normal View History

2021-10-02 20:28:30 +02:00
{ config, pkgs, ... }:
{
services.openssh = {
enable = true;
extraConfig = ''
Match User gitea
AllowAgentForwarding no
AllowTcpForwarding no
PermitTTY no
X11Forwarding no
'';
};
}