feat: add services

main
flop 5 days ago
parent dd6496f477
commit bec314b3d0
  1. 25
      flake.nix

@ -48,6 +48,9 @@
# gatus_health health-check path monitored by gatus (e.g. "/health").
# Leave empty/unset to hide this host from the status page.
vhosts = {
"${domain}" = {
description = "Website";
};
"auth.${domain}" = {
description = "Keycloak";
ports = {"http" = 8080; };
@ -60,7 +63,7 @@
};
"pad.${domain}" = {
# TODO: not implemented (hidden from gatus until gatus_health is set)
description = "HedgeDoc";
description = "HedgeDoc (Pad)";
ports = {"http" = 3001; "httpws" = 3001; };
websockets = true;
};
@ -69,6 +72,15 @@
ports = { "http" = 3000; "ssh" = 22; };
gatus_health = "/";
};
"tickets.${domain}" = {
description = "Pretix";
};
"cfp.${domain}" = {
description = "Pretalx";
};
"matrix.${domain}" = {
description = "Matrix";
};
};
baseArgs = {
@ -89,10 +101,17 @@
] ++ sharedModules;
};
status.domain.com = nixpkgs.lib.nixosSystem {
deploy.domain.com = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = baseArgs // {
domains = [ "pad.${domain}" "git.${domain}" ];
domains = [
"${domain}"
"pad.${domain}"
"git.${domain}"
"tickets.${domain}"
"cfp.${domain}"
"matrix.${domain}"
];
};
modules = [
./machines/status.domain.com/configuration.nix

Loading…
Cancel
Save