Set up forgejo ssh
This commit is contained in:
parent
861f2e81e2
commit
a94ba0499d
4 changed files with 75 additions and 43 deletions
home/features/cli
|
@ -1,5 +1,9 @@
|
|||
{ config, ... }:
|
||||
{ pkgs, lib, ... }:
|
||||
{
|
||||
programs.ssh.enable = true;
|
||||
satellite.persistence.at.state.apps.ssh.directories = [ ".ssh" ];
|
||||
|
||||
# This allows me to push/pull to my forgejo server via SSH.
|
||||
# See the docs for more details: https://developers.cloudflare.com/cloudflare-one/tutorials/gitlab/#configuring-ssh
|
||||
programs.ssh.matchBlocks."ssh.git.moonythm.dev".proxyCommand = "${lib.getExe pkgs.cloudflared} access ssh --hostname %h";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue