aboutsummaryrefslogtreecommitdiff
path: root/modules/private/websites/connexionswing/production.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/private/websites/connexionswing/production.nix')
-rw-r--r--modules/private/websites/connexionswing/production.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/private/websites/connexionswing/production.nix b/modules/private/websites/connexionswing/production.nix
index af37e29..fa31931 100644
--- a/modules/private/websites/connexionswing/production.nix
+++ b/modules/private/websites/connexionswing/production.nix
@@ -1,6 +1,6 @@
1{ lib, pkgs, config, myconfig, ... }: 1{ lib, pkgs, config, ... }:
2let 2let
3 secrets = myconfig.env.websites.connexionswing.production; 3 secrets = config.myEnv.websites.connexionswing.production;
4 app = pkgs.webapps.connexionswing.override { environment = secrets.environment; }; 4 app = pkgs.webapps.connexionswing.override { environment = secrets.environment; };
5 cfg = config.myServices.websites.connexionswing.production; 5 cfg = config.myServices.websites.connexionswing.production;
6 pcfg = config.services.phpApplication; 6 pcfg = config.services.phpApplication;
@@ -52,7 +52,7 @@ in {
52 parameters: 52 parameters:
53 database_host: ${secrets.mysql.host} 53 database_host: ${secrets.mysql.host}
54 database_port: ${secrets.mysql.port} 54 database_port: ${secrets.mysql.port}
55 database_name: ${secrets.mysql.name} 55 database_name: ${secrets.mysql.database}
56 database_user: ${secrets.mysql.user} 56 database_user: ${secrets.mysql.user}
57 database_password: ${secrets.mysql.password} 57 database_password: ${secrets.mysql.password}
58 database_server_version: ${pkgs.mariadb.mysqlVersion} 58 database_server_version: ${pkgs.mariadb.mysqlVersion}