2023-01-06 18:29:58 +01:00
|
|
|
{ pkgs, config, baseDomain, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
sops.secrets."freescout/app_key" = {
|
|
|
|
owner = "freescout";
|
|
|
|
format = "yaml";
|
|
|
|
sopsFile = ../secrets/all/secrets.yaml;
|
|
|
|
};
|
|
|
|
|
|
|
|
services.freescout = {
|
|
|
|
enable = true;
|
|
|
|
domain = "support.${baseDomain}";
|
2023-04-13 18:30:33 +02:00
|
|
|
phpPackage = pkgs.php82;
|
2023-01-06 18:29:58 +01:00
|
|
|
|
|
|
|
settings = {
|
|
|
|
APP_KEY._secret = config.sops.secrets."freescout/app_key".path;
|
|
|
|
APP_ENV = "local";
|
|
|
|
APP_DEBUG = true;
|
|
|
|
};
|
|
|
|
databaseSetup.enable = true;
|
|
|
|
nginx = {
|
|
|
|
forceSSL = true;
|
|
|
|
enableACME = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|