From ab8f306d7c2c49b8116e1af7b355ed2384617ed9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 12 Dec 2019 00:24:23 +0100 Subject: Add specification for the private config file as a module. --- modules/private/websites/ludivinecassal/production.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/private/websites/ludivinecassal/production.nix') 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 @@ -{ lib, pkgs, config, myconfig, ... }: +{ lib, pkgs, config, ... }: let - secrets = myconfig.env.websites.ludivinecassal.production; + secrets = config.myEnv.websites.ludivinecassal.production; app = pkgs.webapps.ludivinecassal.override { environment = secrets.environment; }; pcfg = config.services.phpApplication; cfg = config.myServices.websites.ludivinecassal.production; @@ -50,7 +50,7 @@ in { parameters: database_host: ${secrets.mysql.host} database_port: ${secrets.mysql.port} - database_name: ${secrets.mysql.name} + database_name: ${secrets.mysql.database} database_user: ${secrets.mysql.user} database_password: ${secrets.mysql.password} database_server_version: ${pkgs.mariadb.mysqlVersion} @@ -68,7 +68,7 @@ in { ldap_base_dn: 'dc=immae,dc=eu' ldap_search_dn: '${secrets.ldap.dn}' ldap_search_password: '${secrets.ldap.password}' - ldap_search_filter: '${secrets.ldap.search}' + ldap_search_filter: '${secrets.ldap.filter}' leapt_im: binary_path: ${pkgs.imagemagick}/bin assetic: -- cgit v1.2.3