h: enable ts-rev-proxy for pr-status

This commit is contained in:
Aaron Bieber 2023-05-23 07:45:48 -06:00
parent 220e402051
commit 67f63da54e
No known key found for this signature in database

View File

@ -60,6 +60,7 @@ in {
../../modules/tsvnstat.nix ../../modules/tsvnstat.nix
../../modules/golink.nix ../../modules/golink.nix
../../modules/sliding-sync.nix ../../modules/sliding-sync.nix
../../modules/ts-rev-prox.nix
]; ];
boot.loader.grub.enable = true; boot.loader.grub.enable = true;
@ -135,6 +136,11 @@ in {
mode = "400"; mode = "400";
sopsFile = config.xin-secrets.h.services; sopsFile = config.xin-secrets.h.services;
}; };
pr_status_env = {
mode = "400";
owner = config.services.tsrevprox.user;
sopsFile = config.xin-secrets.h.services;
};
}; };
networking = { networking = {
@ -239,6 +245,12 @@ in {
}; };
services = { services = {
tsrevprox = {
enable = true;
reverseName = "pr-status";
reversePort = 3003;
envFile = config.sops.secrets.pr_status_env.path;
};
sliding-sync = { sliding-sync = {
enable = true; enable = true;
server = "https://tapenet.org"; server = "https://tapenet.org";
@ -248,9 +260,7 @@ in {
enable = true; enable = true;
envFile = "${config.sops.secrets.pots_env_file.path}"; envFile = "${config.sops.secrets.pots_env_file.path}";
}; };
pr-status = { pr-status = { enable = true; };
enable = true;
};
gostart = { gostart = {
enable = true; enable = true;
keyPath = "${config.sops.secrets.gostart.path}"; keyPath = "${config.sops.secrets.gostart.path}";