mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
yeet nextcloud
This commit is contained in:
parent
796d255238
commit
6a31df7899
3 changed files with 3 additions and 40 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue