diff options
Diffstat (limited to 'modules/private/websites/connexionswing/production.nix')
-rw-r--r-- | modules/private/websites/connexionswing/production.nix | 55 |
1 files changed, 26 insertions, 29 deletions
diff --git a/modules/private/websites/connexionswing/production.nix b/modules/private/websites/connexionswing/production.nix index f6a059d..981e95e 100644 --- a/modules/private/websites/connexionswing/production.nix +++ b/modules/private/websites/connexionswing/production.nix | |||
@@ -48,35 +48,32 @@ in { | |||
48 | phpPackage = pkgs.php72; | 48 | phpPackage = pkgs.php72; |
49 | }; | 49 | }; |
50 | 50 | ||
51 | secrets.keys = [ | 51 | secrets.keys."websites/connexionswing/production" = { |
52 | { | 52 | user = config.services.httpd.Prod.user; |
53 | dest = "websites/connexionswing/production"; | 53 | group = config.services.httpd.Prod.group; |
54 | user = config.services.httpd.Prod.user; | 54 | permissions = "0400"; |
55 | group = config.services.httpd.Prod.group; | 55 | text = '' |
56 | permissions = "0400"; | 56 | # This file is auto-generated during the composer install |
57 | text = '' | 57 | parameters: |
58 | # This file is auto-generated during the composer install | 58 | database_host: ${secrets.mysql.host} |
59 | parameters: | 59 | database_port: ${secrets.mysql.port} |
60 | database_host: ${secrets.mysql.host} | 60 | database_name: ${secrets.mysql.database} |
61 | database_port: ${secrets.mysql.port} | 61 | database_user: ${secrets.mysql.user} |
62 | database_name: ${secrets.mysql.database} | 62 | database_password: ${secrets.mysql.password} |
63 | database_user: ${secrets.mysql.user} | 63 | database_server_version: ${pkgs.mariadb.mysqlVersion} |
64 | database_password: ${secrets.mysql.password} | 64 | mailer_transport: sendmail |
65 | database_server_version: ${pkgs.mariadb.mysqlVersion} | 65 | mailer_host: null |
66 | mailer_transport: sendmail | 66 | mailer_user: null |
67 | mailer_host: null | 67 | mailer_password: null |
68 | mailer_user: null | 68 | subscription_email: ${secrets.email} |
69 | mailer_password: null | 69 | allow_robots: true |
70 | subscription_email: ${secrets.email} | 70 | secret: ${secrets.secret} |
71 | allow_robots: true | 71 | services: |
72 | secret: ${secrets.secret} | 72 | swiftmailer.mailer.default.transport: |
73 | services: | 73 | class: Swift_SendmailTransport |
74 | swiftmailer.mailer.default.transport: | 74 | arguments: ['/run/wrappers/bin/sendmail -bs'] |
75 | class: Swift_SendmailTransport | 75 | ''; |
76 | arguments: ['/run/wrappers/bin/sendmail -bs'] | 76 | }; |
77 | ''; | ||
78 | } | ||
79 | ]; | ||
80 | 77 | ||
81 | services.websites.env.production.vhostConfs.connexionswing_production = { | 78 | services.websites.env.production.vhostConfs.connexionswing_production = { |
82 | certName = "connexionswing"; | 79 | certName = "connexionswing"; |