services/nextcloud: replace password with file

This commit is contained in:
schweby 2021-10-31 09:01:20 +01:00
parent 0652afa761
commit 232a90aaf1

View file

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