Remove hardcoded nextcloud admin username.

This commit is contained in:
Kevin Baensch 2019-10-09 15:13:13 +02:00
parent 96903f0552
commit 535a8079e6

View file

@ -14,7 +14,7 @@ mkIf (elem "nextcloud" config.machine.services) {
https = true; https = true;
maxUploadSize = "1024M"; maxUploadSize = "1024M";
config = { config = {
adminuser = "derped"; adminuser = mkDefault (elemAt cfg.administrators 0).name;
adminpassFile = "${cfg.secretPath}/nextcloud_admin"; adminpassFile = "${cfg.secretPath}/nextcloud_admin";
dbtype = "mysql"; dbtype = "mysql";
dbhost = "localhost"; dbhost = "localhost";