From 132e577b1a7b5ecace4baef46be7612258c73818 Mon Sep 17 00:00:00 2001 From: Luna Date: Fri, 25 Oct 2024 21:37:22 -0400 Subject: [PATCH] Delete server/nextcloud.nix --- server/nextcloud.nix | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 server/nextcloud.nix diff --git a/server/nextcloud.nix b/server/nextcloud.nix deleted file mode 100644 index 890f537..0000000 --- a/server/nextcloud.nix +++ /dev/null @@ -1,35 +0,0 @@ -{pkgs, outputs, ...}: { - services = { - nextcloud = { - enable = true; - package = pkgs.nextcloud29; - hostName = "nextcloud.lunamoonlight.xyz"; - datadir = "/mnt/nextcloud"; - https = true; - config = { - adminuser = "luna"; - adminpassFile = "/mnt/nextcloud/password.txt"; - }; - settings = { - trusted_proxies = [ "127.0.0.1" ]; - trusted_domains = [ "nextcloud.lunamoonlight.xyz" ]; - overwriteprotocol = "https"; - }; - }; - nginx.virtualHosts."nextcloud.lunamoonlight.xyz" = { - enableACME = true; - addSSL = true; - locations."/" = { - proxyWebsockets = true; - extraConfig = " - location /.well-known/carddav { - return 301 $scheme://$host/remote.php/dav; - } - location /.well-known/caldav { - return 301 $scheme://$host/remote.php/dav; - } - "; - }; - }; - }; -}