infrastructure/machines/nixos/web01/crabfit/default.nix
Tom Hubrecht ecbad0a638
chore: Abstract machines and modules
This adds subdirectories for the different types of systems, for the
modules and the machines
2024-12-08 13:39:10 +01:00

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;
};
};
}