modules: services: nextcloud: use 'credentialsfile'

In preparation for the migration to agenix.
This commit is contained in:
Bruno BELANYI 2021-09-25 13:02:13 +02:00
parent 9d8da4d2b2
commit 5579baecfb
2 changed files with 9 additions and 5 deletions

View file

@ -91,7 +91,8 @@ in
# Nextcloud self-hosted cloud
nextcloud = {
enable = true;
password = my.secrets.nextcloud.password;
passwordFile =
builtins.toFile "nextcloud-pass.txt" my.secrets.nextcloud.password;
};
nginx = {
enable = true;