update nextcloud
This commit is contained in:
parent
fee2fa1967
commit
bd7ac2fb07
|
@ -1,10 +1,13 @@
|
|||
{ self, config, lib, pkgs, ... }:
|
||||
let
|
||||
domain = "cloud.sondell.org";
|
||||
nextcloud = pkgs.nextcloud28;
|
||||
in
|
||||
{
|
||||
|
||||
self,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
domain = "cloud.sondell.org";
|
||||
nextcloud = pkgs.nextcloud29;
|
||||
in {
|
||||
environment.systemPackages = [
|
||||
nextcloud
|
||||
];
|
||||
|
@ -30,7 +33,6 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
|
||||
services = {
|
||||
restic.backups = {
|
||||
"nextcloud" = {
|
||||
|
@ -50,7 +52,6 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
|
||||
nginx.virtualHosts = {
|
||||
${domain} = {
|
||||
forceSSL = true;
|
||||
|
@ -92,7 +93,7 @@ in
|
|||
extraApps = with config.services.nextcloud.package.packages.apps; {
|
||||
# List of apps we want to install and are already packaged in
|
||||
# https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/nextcloud/packages/nextcloud-apps.json
|
||||
inherit mail calendar contacts notes onlyoffice tasks cookbook;
|
||||
inherit mail calendar contacts notes onlyoffice cookbook;
|
||||
};
|
||||
config = {
|
||||
overwriteProtocol = "https";
|
||||
|
|
Loading…
Reference in a new issue