2024-12-12 14:41:43 +01:00
|
|
|
# SPDX-FileCopyrightText: 2024 Tom Hubrecht <tom.hubrecht@dgnum.eu>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
|
2024-12-15 18:16:17 +01:00
|
|
|
{ config, pkgs, ... }:
|
2024-01-23 01:06:10 +01:00
|
|
|
|
|
|
|
{
|
|
|
|
services.crabfit = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
api.host = "api.meet.dgnum.eu";
|
2024-12-15 18:16:17 +01:00
|
|
|
frontend = {
|
|
|
|
host = "meet.dgnum.eu";
|
|
|
|
package = pkgs.crabfit-frontend.overrideAttrs (old: {
|
|
|
|
patches = (old.patches or [ ]) ++ [
|
|
|
|
./01-privacy.patch
|
|
|
|
./05-dgnum.patch
|
|
|
|
./06-download.patch
|
|
|
|
./07-colormap.patch
|
|
|
|
./08-heatmap.patch
|
|
|
|
];
|
|
|
|
});
|
|
|
|
};
|
2024-01-23 01:06:10 +01:00
|
|
|
};
|
2024-02-21 22:55:10 +01:00
|
|
|
|
|
|
|
dgn-backups.postgresDatabases = [ "crabfit" ];
|
2024-06-06 11:39:20 +02:00
|
|
|
|
2024-10-12 19:30:36 +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
|
|
|
};
|
2024-10-12 19:30:36 +02:00
|
|
|
};
|
2024-01-23 01:06:10 +01:00
|
|
|
}
|