forked from DGNum/infrastructure
Tom Hubrecht
ecbad0a638
This adds subdirectories for the different types of systems, for the modules and the machines
23 lines
430 B
Nix
23 lines
430 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
imports = [ ./packages ];
|
|
|
|
services.crabfit = {
|
|
enable = true;
|
|
|
|
api.host = "api.meet.dgnum.eu";
|
|
frontend.host = "meet.dgnum.eu";
|
|
};
|
|
|
|
dgn-backups.postgresDatabases = [ "crabfit" ];
|
|
|
|
dgn-web.simpleProxies = {
|
|
crabfit-api = {
|
|
inherit (config.services.crabfit.api) host port;
|
|
};
|
|
crabfit-frontend = {
|
|
inherit (config.services.crabfit.frontend) host port;
|
|
};
|
|
};
|
|
}
|