yeet nextcloud

This commit is contained in:
Gerg-L 2024-12-11 21:54:35 -05:00
parent 796d255238
commit 6a31df7899
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
3 changed files with 3 additions and 40 deletions

View file

@ -1,26 +0,0 @@
{ pkgs, config }:
{
sops.secrets.nextcloud.owner = "nextcloud";
users.users.nextcloud.extraGroups = [ "postgres" ];
services.nextcloud = {
enable = true;
package = pkgs.nextcloud30;
home = "/persist/services/nextcloud";
datadir = "/persist/services/nextcloud";
extraAppsEnable = false;
hostName = "next.gerg-l.com";
autoUpdateApps.enable = false;
database.createLocally = true;
config = {
dbtype = "pgsql";
adminpassFile = config.sops.secrets.nextcloud.path;
adminuser = "admin-root";
};
settings = {
overwriteprotocol = "https";
default_phone_region = "US";
};
};
}

View file

@ -21,7 +21,6 @@
extraDomainNames = [
"search.gerg-l.com"
"git.gerg-l.com"
"next.gerg-l.com"
"flux.gerg-l.com"
"cache.gerg-l.com"
];
@ -66,15 +65,6 @@
locations."/".proxyPass = "http://unix:${config.systemd.services.miniflux.environment.LISTEN_ADDR}";
};
"next.gerg-l.com" = {
forceSSL = true;
useACMEHost = "gerg-l.com";
extraConfig = ''
zstd on;
zstd_types "*";
client_max_body_size 50000M;
'';
};
"cache.gerg-l.com" = {
forceSSL = true;
useACMEHost = "gerg-l.com";