enable forgejo
This commit is contained in:
parent
3d1aea0ac3
commit
62391d2453
2 changed files with 28 additions and 24 deletions
|
|
@ -340,35 +340,29 @@
|
|||
admins = [ "itepastra" ];
|
||||
extraSettingsFile = config.age.secrets."factorio/solrunners".path;
|
||||
};
|
||||
github-runners = {
|
||||
flurry-runner = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
nodejs
|
||||
curl
|
||||
];
|
||||
name = "flurry-runner";
|
||||
replace = true;
|
||||
tokenFile = config.age.secrets."secrets/token-flurry".path;
|
||||
url = "https://github.com/itepastra/flurry";
|
||||
};
|
||||
anstml-runner = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
nodejs
|
||||
curl
|
||||
];
|
||||
name = "anstml-runner";
|
||||
replace = true;
|
||||
tokenFile = config.age.secrets."secrets/token-anstml".path;
|
||||
url = "https://github.com/itepastra/anstml";
|
||||
};
|
||||
};
|
||||
openssh = {
|
||||
enable = true;
|
||||
settings.PasswordAuthentication = false;
|
||||
settings.KbdInteractiveAuthentication = false;
|
||||
};
|
||||
forgejo = {
|
||||
enable = true;
|
||||
settings = {
|
||||
server = {
|
||||
DOMAIN = "geenit.nl";
|
||||
HTTP_PORT = 2929;
|
||||
};
|
||||
DEFAULT = {
|
||||
APP_NAME = "Solgit";
|
||||
APP_SLOGAN = "Git of da runners";
|
||||
RUN_MODE = "dev";
|
||||
};
|
||||
};
|
||||
|
||||
database = {
|
||||
type = "postgres";
|
||||
};
|
||||
};
|
||||
radicale = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
|||
|
|
@ -72,6 +72,16 @@ in
|
|||
|
||||
# home-assistant proxy
|
||||
"home.itepastra.nl" = proxy "itepastra.nl" "http://[::1]:8123";
|
||||
|
||||
"geenit.nl" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
extraConfig = extra;
|
||||
locations."/" = {
|
||||
proxyWebsockets = true;
|
||||
proxyPass = "http://127.0.0.1:2929/";
|
||||
};
|
||||
};
|
||||
})
|
||||
(lib.mkIf (import ./toggles.nix).enableFlurry {
|
||||
"flurry.itepastra.nl" = proxy "itepastra.nl" "http://127.0.0.1:3000";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue