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 = [
|
environment.systemPackages = [
|
||||||
nextcloud
|
nextcloud
|
||||||
];
|
];
|
||||||
|
@ -30,7 +33,6 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
restic.backups = {
|
restic.backups = {
|
||||||
"nextcloud" = {
|
"nextcloud" = {
|
||||||
|
@ -50,7 +52,6 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
nginx.virtualHosts = {
|
nginx.virtualHosts = {
|
||||||
${domain} = {
|
${domain} = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
@ -92,7 +93,7 @@ in
|
||||||
extraApps = with config.services.nextcloud.package.packages.apps; {
|
extraApps = with config.services.nextcloud.package.packages.apps; {
|
||||||
# List of apps we want to install and are already packaged in
|
# 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
|
# 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 = {
|
config = {
|
||||||
overwriteProtocol = "https";
|
overwriteProtocol = "https";
|
||||||
|
|
Loading…
Reference in a new issue