Compare commits

..

No commits in common. "e99d91bdf199cbe774ac949f9bbef0cd4a5910be" and "b8b64bed8e4b3d8d109e7dcf38f69a4242142ec3" have entirely different histories.

2 changed files with 9 additions and 12 deletions

View file

@ -104,17 +104,17 @@ in
extraConfigFiles = [
cfg.mailConfigFile
] ++ lib.optional (cfg.secretFile != null) cfg.secretFile;
};
services.matrix-sliding-sync = {
enable = true;
sliding-sync = {
enable = true;
settings = {
SYNCV3_SERVER = "https://${matrixDomain}";
SYNCV3_BINDADDR = "127.0.0.1:${toString cfg.slidingSync.port}";
settings = {
SYNCV3_SERVER = "https://${matrixDomain}";
SYNCV3_BINDADDR = "127.0.0.1:${toString cfg.slidingSync.port}";
};
environmentFile = cfg.slidingSync.secretFile;
};
environmentFile = cfg.slidingSync.secretFile;
};
my.services.nginx.virtualHosts = {

View file

@ -31,7 +31,7 @@ in
config = lib.mkIf cfg.enable {
services.nextcloud = {
enable = true;
package = pkgs.nextcloud28;
package = pkgs.nextcloud27;
hostName = "nextcloud.${config.networking.domain}";
home = "/var/lib/nextcloud";
maxUploadSize = cfg.maxSize;
@ -41,9 +41,6 @@ in
adminpassFile = cfg.passwordFile;
dbtype = "pgsql";
dbhost = "/run/postgresql";
};
extraOptions = {
overwriteProtocol = "https"; # Nginx only allows SSL
};