update nextcloud

This commit is contained in:
Ingolf Wagner 2024-05-27 21:02:15 +02:00
parent 545ba732d4
commit b9254dbf7f
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 9 additions and 6 deletions

View file

@ -27,7 +27,7 @@
./media-syncthing.nix ./media-syncthing.nix
./media-transmission2.nix ./media-transmission2.nix
./social-jitsi.nix #./social-jitsi.nix
./social-matrix-terranix.nix ./social-matrix-terranix.nix
]; ];

View file

@ -8,11 +8,11 @@
let let
nextcloudUid = 1000; nextcloudUid = 1000;
nextcloudGid = 1000; nextcloudGid = 1000;
nextcloudPort = 8080; nextcloudPort = 9080;
nextcloudHostName = "nextcloud.ingolf-wagner.de"; nextcloudHostName = "nextcloud.ingolf-wagner.de";
phpPackage = pkgs.php73; phpPackage = pkgs.php73;
nextcloudPackage = pkgs.nextcloud28; nextcloudPackage = pkgs.nextcloud29;
mySQLPackage = pkgs.mysql; mySQLPackage = pkgs.mysql;
in in
{ {
@ -175,15 +175,18 @@ in
package = nextcloudPackage; package = nextcloudPackage;
autoUpdateApps.enable = true; autoUpdateApps.enable = true;
hostName = nextcloudHostName; hostName = nextcloudHostName;
logLevel = 2;
https = true; https = true;
settings = {
overwriteprotocol = "https";
default_phone_region = "DE";
loglevel = 2;
};
config = { config = {
adminpassFile = "/run/secrets/nextcloud_root_password"; adminpassFile = "/run/secrets/nextcloud_root_password";
overwriteProtocol = "https"; #overwriteProtocol = "https";
dbtype = "mysql"; dbtype = "mysql";
dbpassFile = "/run/secrets/nextcloud_database_password"; dbpassFile = "/run/secrets/nextcloud_database_password";
dbhost = "localhost:3306"; dbhost = "localhost:3306";
defaultPhoneRegion = "DE";
}; };
}; };
}; };