From 9244a42a202980069015a2b1586404991e328c52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Sat, 28 Oct 2023 16:53:40 +0200 Subject: [PATCH] feat: add complete nextcloud config without secrets --- hosts/nachtigall/nextcloud.nix | 37 ---------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 hosts/nachtigall/nextcloud.nix diff --git a/hosts/nachtigall/nextcloud.nix b/hosts/nachtigall/nextcloud.nix deleted file mode 100644 index 6206806c..00000000 --- a/hosts/nachtigall/nextcloud.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ config, pkgs, ... }: -{ - services.caddy.virtualHosts."cloud.pub.solar" = { - # logFormat = lib.mkForce '' - # output discard - # ''; - extraConfig = '' - reverse_proxy :8080 - ''; - }; - - services.nginx.virtualHosts."localhost".listen = [ { addr = "127.0.0.1"; port = 8080; } ]; - - services.nextcloud = { - enable = true; - https = true; - secretFile = ""; # secret - - notify_push = { - enable = true; - }; - - config = { - adminuser = "admin"; - dbuser = "nextcloud"; - dbtype = "pgsql"; - dbname = "nextcloud"; - dbtableprefix = "oc_"; - trustedProxies = [ - "cloud.pub.solar" - ]; - }; - - autoUpdateApps.enable = true; - database.createLocally = true; - }; -}