modules: services: nginx: use 'credentialsFile'

In preparation for the migration to agenix.
This commit is contained in:
Bruno BELANYI 2021-09-25 13:24:23 +02:00
parent 7d37701811
commit 16d3cd9f81
2 changed files with 14 additions and 2 deletions

View file

@ -106,6 +106,9 @@ in
};
nginx = {
enable = true;
acme = {
credentialsFile = builtins.toFile "gandi-key.env" my.secrets.acme.key;
};
};
paperless = {
enable = true;