services/nextcloud: replace password with file

keep-around/232a90aaf14ff5a6c81151af997f8a0db7d96ff7
schweby 2021-10-31 09:01:20 +01:00
parent 0652afa761
commit 232a90aaf1
1 changed files with 1 additions and 4 deletions

View File

@ -47,10 +47,7 @@
dbuser = "nextcloud";
dbhost = "/run/postgresql"; # nextcloud will add /.s.PGSQL.5432 by itself
dbname = "nextcloud";
# there's also a adminpassFile option, but for testing this seems
# enough (less fiddling with getting the file into a nixos
# container for ad-hoc setups)
adminpass = "lushfjwebrwhjebr";
adminpassFile = "/persist/nextcloud/config/admin_pw";
adminuser = "root";
defaultapp = "apporder";
};