fix sshd
This commit is contained in:
parent
92d7055072
commit
e1cf857065
3 changed files with 15 additions and 7 deletions
14
hosts/git/openssh.nix
Normal file
14
hosts/git/openssh.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [ ../../services/openssh.nix ];
|
||||
|
||||
services.openssh = {
|
||||
settings.PerSourcePenalties = false;
|
||||
extraConfig = ''
|
||||
Match User forgejo
|
||||
AcceptEnv GIT_PROTOCOL
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Reference in a new issue