Merge pull request 'feat: init tmate-ssh-server' (#112) from feat/tmate into main
Reviewed-on: #112 Reviewed-by: Akshay Mankar <axeman@noreply.git.pub.solar>
This commit is contained in:
commit
0bf113e3a9
|
@ -46,7 +46,6 @@
|
||||||
user = "gitea";
|
user = "gitea";
|
||||||
group = "gitea";
|
group = "gitea";
|
||||||
package = pkgs.forgejo;
|
package = pkgs.forgejo;
|
||||||
appName = "pub.solar git server";
|
|
||||||
database = {
|
database = {
|
||||||
type = "postgres";
|
type = "postgres";
|
||||||
passwordFile = config.age.secrets.forgejo-database-password.path;
|
passwordFile = config.age.secrets.forgejo-database-password.path;
|
||||||
|
@ -57,6 +56,8 @@
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
mailerPasswordFile = config.age.secrets.forgejo-mailer-password.path;
|
mailerPasswordFile = config.age.secrets.forgejo-mailer-password.path;
|
||||||
settings = {
|
settings = {
|
||||||
|
DEFAULT.APP_NAME = "pub.solar git server";
|
||||||
|
|
||||||
server = {
|
server = {
|
||||||
ROOT_URL = "https://git.pub.solar";
|
ROOT_URL = "https://git.pub.solar";
|
||||||
DOMAIN = "git.pub.solar";
|
DOMAIN = "git.pub.solar";
|
||||||
|
|
9
hosts/nachtigall/apps/tmate.nix
Normal file
9
hosts/nachtigall/apps/tmate.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
services.tmate-ssh-server = {
|
||||||
|
enable = true;
|
||||||
|
port = 2222;
|
||||||
|
openFirewall = true;
|
||||||
|
host = "tmate.pub.solar";
|
||||||
|
};
|
||||||
|
}
|
|
@ -29,6 +29,7 @@
|
||||||
./apps/prometheus-exporters.nix
|
./apps/prometheus-exporters.nix
|
||||||
./apps/promtail.nix
|
./apps/promtail.nix
|
||||||
./apps/searx.nix
|
./apps/searx.nix
|
||||||
|
./apps/tmate.nix
|
||||||
|
|
||||||
./apps/matrix/irc.nix
|
./apps/matrix/irc.nix
|
||||||
./apps/matrix/mautrix-telegram.nix
|
./apps/matrix/mautrix-telegram.nix
|
||||||
|
|
|
@ -115,6 +115,11 @@ resource "namecheap_domain_records" "pub-solar" {
|
||||||
type = "CNAME"
|
type = "CNAME"
|
||||||
address = "nachtigall.pub.solar."
|
address = "nachtigall.pub.solar."
|
||||||
}
|
}
|
||||||
|
record {
|
||||||
|
hostname = "tmate"
|
||||||
|
type = "CNAME"
|
||||||
|
address = "nachtigall.pub.solar."
|
||||||
|
}
|
||||||
record {
|
record {
|
||||||
hostname = "www"
|
hostname = "www"
|
||||||
type = "CNAME"
|
type = "CNAME"
|
||||||
|
|
Loading…
Reference in a new issue