2024-09-11 16:30:19 +02:00
|
|
|
{ pkgs, lib, ... }:
|
2024-08-26 23:30:04 +02:00
|
|
|
{
|
2023-01-10 02:38:06 +01:00
|
|
|
programs.ssh.enable = true;
|
2023-11-04 20:51:56 +01:00
|
|
|
satellite.persistence.at.state.apps.ssh.directories = [ ".ssh" ];
|
2024-09-11 16:30:19 +02:00
|
|
|
|
|
|
|
# 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";
|
2023-01-10 02:38:06 +01:00
|
|
|
}
|