infrastructure/machines/nixos/web01/crabfit/default.nix

24 lines
430 B
Nix
Raw Normal View History

2024-06-06 11:39:20 +02:00
{ config, ... }:
{
imports = [ ./packages ];
services.crabfit = {
enable = true;
api.host = "api.meet.dgnum.eu";
frontend.host = "meet.dgnum.eu";
};
2024-02-21 22:55:10 +01:00
dgn-backups.postgresDatabases = [ "crabfit" ];
2024-06-06 11:39:20 +02:00
dgn-web.simpleProxies = {
crabfit-api = {
inherit (config.services.crabfit.api) host port;
};
crabfit-frontend = {
inherit (config.services.crabfit.frontend) host port;
2024-06-06 11:39:20 +02:00
};
};
}