diff options
Diffstat (limited to 'modules/private/websites/ludivinecassal')
-rw-r--r-- | modules/private/websites/ludivinecassal/integration.nix | 8 | ||||
-rw-r--r-- | modules/private/websites/ludivinecassal/production.nix | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/modules/private/websites/ludivinecassal/integration.nix b/modules/private/websites/ludivinecassal/integration.nix index 5d9afc1..d6459b0 100644 --- a/modules/private/websites/ludivinecassal/integration.nix +++ b/modules/private/websites/ludivinecassal/integration.nix | |||
@@ -1,6 +1,6 @@ | |||
1 | { lib, pkgs, config, myconfig, ... }: | 1 | { lib, pkgs, config, ... }: |
2 | let | 2 | let |
3 | secrets = myconfig.env.websites.ludivinecassal.integration; | 3 | secrets = config.myEnv.websites.ludivinecassal.integration; |
4 | app = pkgs.webapps.ludivinecassal.override { environment = secrets.environment; }; | 4 | app = pkgs.webapps.ludivinecassal.override { environment = secrets.environment; }; |
5 | cfg = config.myServices.websites.ludivinecassal.integration; | 5 | cfg = config.myServices.websites.ludivinecassal.integration; |
6 | pcfg = config.services.phpApplication; | 6 | pcfg = config.services.phpApplication; |
@@ -48,7 +48,7 @@ in { | |||
48 | parameters: | 48 | parameters: |
49 | database_host: ${secrets.mysql.host} | 49 | database_host: ${secrets.mysql.host} |
50 | database_port: ${secrets.mysql.port} | 50 | database_port: ${secrets.mysql.port} |
51 | database_name: ${secrets.mysql.name} | 51 | database_name: ${secrets.mysql.database} |
52 | database_user: ${secrets.mysql.user} | 52 | database_user: ${secrets.mysql.user} |
53 | database_password: ${secrets.mysql.password} | 53 | database_password: ${secrets.mysql.password} |
54 | database_server_version: ${pkgs.mariadb.mysqlVersion} | 54 | database_server_version: ${pkgs.mariadb.mysqlVersion} |
@@ -66,7 +66,7 @@ in { | |||
66 | ldap_base_dn: 'dc=immae,dc=eu' | 66 | ldap_base_dn: 'dc=immae,dc=eu' |
67 | ldap_search_dn: '${secrets.ldap.dn}' | 67 | ldap_search_dn: '${secrets.ldap.dn}' |
68 | ldap_search_password: '${secrets.ldap.password}' | 68 | ldap_search_password: '${secrets.ldap.password}' |
69 | ldap_search_filter: '${secrets.ldap.search}' | 69 | ldap_search_filter: '${secrets.ldap.filter}' |
70 | leapt_im: | 70 | leapt_im: |
71 | binary_path: ${pkgs.imagemagick}/bin | 71 | binary_path: ${pkgs.imagemagick}/bin |
72 | assetic: | 72 | assetic: |
diff --git a/modules/private/websites/ludivinecassal/production.nix b/modules/private/websites/ludivinecassal/production.nix index 1a8b958..c6f0cf3 100644 --- a/modules/private/websites/ludivinecassal/production.nix +++ b/modules/private/websites/ludivinecassal/production.nix | |||
@@ -1,6 +1,6 @@ | |||
1 | { lib, pkgs, config, myconfig, ... }: | 1 | { lib, pkgs, config, ... }: |
2 | let | 2 | let |
3 | secrets = myconfig.env.websites.ludivinecassal.production; | 3 | secrets = config.myEnv.websites.ludivinecassal.production; |
4 | app = pkgs.webapps.ludivinecassal.override { environment = secrets.environment; }; | 4 | app = pkgs.webapps.ludivinecassal.override { environment = secrets.environment; }; |
5 | pcfg = config.services.phpApplication; | 5 | pcfg = config.services.phpApplication; |
6 | cfg = config.myServices.websites.ludivinecassal.production; | 6 | cfg = config.myServices.websites.ludivinecassal.production; |
@@ -50,7 +50,7 @@ in { | |||
50 | parameters: | 50 | parameters: |
51 | database_host: ${secrets.mysql.host} | 51 | database_host: ${secrets.mysql.host} |
52 | database_port: ${secrets.mysql.port} | 52 | database_port: ${secrets.mysql.port} |
53 | database_name: ${secrets.mysql.name} | 53 | database_name: ${secrets.mysql.database} |
54 | database_user: ${secrets.mysql.user} | 54 | database_user: ${secrets.mysql.user} |
55 | database_password: ${secrets.mysql.password} | 55 | database_password: ${secrets.mysql.password} |
56 | database_server_version: ${pkgs.mariadb.mysqlVersion} | 56 | database_server_version: ${pkgs.mariadb.mysqlVersion} |
@@ -68,7 +68,7 @@ in { | |||
68 | ldap_base_dn: 'dc=immae,dc=eu' | 68 | ldap_base_dn: 'dc=immae,dc=eu' |
69 | ldap_search_dn: '${secrets.ldap.dn}' | 69 | ldap_search_dn: '${secrets.ldap.dn}' |
70 | ldap_search_password: '${secrets.ldap.password}' | 70 | ldap_search_password: '${secrets.ldap.password}' |
71 | ldap_search_filter: '${secrets.ldap.search}' | 71 | ldap_search_filter: '${secrets.ldap.filter}' |
72 | leapt_im: | 72 | leapt_im: |
73 | binary_path: ${pkgs.imagemagick}/bin | 73 | binary_path: ${pkgs.imagemagick}/bin |
74 | assetic: | 74 | assetic: |