From 232a90aaf14ff5a6c81151af997f8a0db7d96ff7 Mon Sep 17 00:00:00 2001 From: schweby Date: Sun, 31 Oct 2021 09:01:20 +0100 Subject: [PATCH] services/nextcloud: replace password with file --- services/nextcloud/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/services/nextcloud/default.nix b/services/nextcloud/default.nix index 75a00cb..9753b03 100644 --- a/services/nextcloud/default.nix +++ b/services/nextcloud/default.nix @@ -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"; };