nextcloud: 16.0.3 -> 18.0.1
This commit is contained in:
parent
3e8d995221
commit
95da0e6bb2
1 changed files with 17 additions and 1 deletions
|
@ -23,6 +23,22 @@
|
|||
|
||||
config = { config, pkgs, ... }: {
|
||||
|
||||
# don't forget the database backup before doing this
|
||||
# https://docs.nextcloud.com/server/stable/admin_manual/maintenance/backup.html
|
||||
# https://docs.nextcloud.com/server/stable/admin_manual/maintenance/upgrade.html
|
||||
# use snapshots in case of a rollback
|
||||
nixpkgs.config.packageOverrides = super: {
|
||||
nextcloud = super.nextcloud.overrideAttrs (old: rec {
|
||||
name = "nextcloud-${version}";
|
||||
version = "18.0.1";
|
||||
src = super.fetchurl {
|
||||
url =
|
||||
"https://download.nextcloud.com/server/releases/nextcloud-18.0.1.tar.bz2";
|
||||
sha256 = "1h0rxpdssn1hc65k41zbvww9r4f79vbd9bixc9ri5n7hp0say3vp";
|
||||
};
|
||||
});
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 80 ];
|
||||
networking.firewall.allowedUDPPorts = [ 80 ];
|
||||
|
||||
|
@ -32,7 +48,7 @@
|
|||
config.adminpassFile = toString <secrets/nextcloud/rootpassword>;
|
||||
nginx.enable = true;
|
||||
hostName = "nextcloud.ingolf-wagner.de";
|
||||
logLevel = 2;
|
||||
#logLevel = 0;
|
||||
config.overwriteProtocol = "https";
|
||||
config.extraTrustedDomains = [
|
||||
"nextcloud.ingolf-wagner.de"
|
||||
|
|
Loading…
Reference in a new issue