Setup admin pass properly, remove systemd logging for now

This commit is contained in:
Evie Litherland-Smith 2023-05-16 17:33:42 +01:00
parent 56f967b261
commit 31ba62666d

View file

@ -5,10 +5,9 @@
enable = true; enable = true;
package = pkgs.nextcloud26; package = pkgs.nextcloud26;
hostName = "cloud.xenia.me.uk"; hostName = "cloud.xenia.me.uk";
logType = "systemd";
config = { config = {
adminuser = "xenia"; adminuser = "xenia";
adminpassFile = "${pkgs.writeText "adminpass" "tempPass123"}"; adminpassFile = "/secrets/nextcloud_admin.txt";
}; };
}; };
services.nginx.virtualHosts.${config.services.nextcloud.hostName}.listen = [{ addr = "localhost"; port = 8000; }]; services.nginx.virtualHosts.${config.services.nextcloud.hostName}.listen = [{ addr = "localhost"; port = 8000; }];