Forgejo: Difference between revisions

Kaya (talk | contribs)
Small clean up
Kaya (talk | contribs)
Add section on setting up openssh integratiojn
Line 85: Line 85:
}
}
</syntaxhighlight>
</syntaxhighlight>
== Setting up OpenSSH integration ==
If you plan to use SSH keys for authenticating your git usage, there's a little extra configuration to be done to set that up:
{{File|3={ config, lib, ... }: {
  ...
  services = {
    forgejo.settings.server.SSH_PORT = lib.head config.services.openssh.ports;
    openssh.settings.AcceptEnv = "GIT_PROTOCOL";
  };
  ...
}|name=/etc/nixos/configuration.nix|lang=nix}}


== Actions Runner ==
== Actions Runner ==