diff --git a/hosts/thegeneralist-central/forgejo/default.nix b/hosts/thegeneralist-central/forgejo/default.nix index a5c5a1f..a1dcfc8 100644 --- a/hosts/thegeneralist-central/forgejo/default.nix +++ b/hosts/thegeneralist-central/forgejo/default.nix @@ -128,5 +128,10 @@ in networking.firewall.trustedInterfaces = [ "br-+" ]; + programs.ssh.knownHosts.central = { + hostNames = [ "central" ]; + publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAMuvjhN26VXntKZdu7/rFc55EGK0B2wDXv6PIiMJSvD"; + }; + networking.firewall.allowedTCPPorts = [ 2222 ]; }