added nextcloud maps

This commit is contained in:
2024-11-19 15:04:17 -06:00
parent 0e677e3725
commit 04b99e54d1
2 changed files with 16 additions and 41 deletions

View File

@@ -11,33 +11,6 @@
config = lib.mkIf config.sysconfig.opts.virtualization.nextcloud.enable {
/*services.nginx.virtualHosts."localhost".listen = [ { addr = "0.0.0.0"; port = 8081; } ];
services.nextcloud = {
enable = true;
package = pkgs.nextcloud30;
hostName = "localhost";
config = {
adminpassFile = config.sops.secrets."nextcloud/pass".path;
adminuser = "root";
dbtype = "mysql";
};
https = true;
datadir = "/ssd1/Nextcloud/data";
home = "/ssd1/Nextcloud/nextcloud_home";
appstoreEnable = true;
extraApps = with config.services.nextcloud.package.packages.apps; {
inherit mail contacts calendar tasks user_oidc;
};
extraAppsEnable = true;
settings = {
overwriteprotocol = "https";
trusted_domains = [ "nextcloud.blunkall.us" "dummy.blunkall.us" ];
trusted_proxies = [ "192.168.100.11" ];
default_phone_region = "US";
};
database.createLocally = true;
};*/
containers.nextcloud = {
autoStart = true;
@@ -60,10 +33,6 @@
config = { config, lib, pkgs, ... }: {
/*systemd.tmpfiles.rules = [
"Z /etc/nextcloud - nextcloud nextcloud"
];*/
systemd.services.secrets_setup = {
wantedBy = [ "nextcloud-setup.service" ];
@@ -94,7 +63,13 @@
home = "/var/lib/nextcloud";
#appstoreEnable = true;
extraApps = with config.services.nextcloud.package.packages.apps; {
inherit mail contacts calendar tasks user_oidc;
inherit mail contacts calendar tasks user_oidc;
inherit impersonate end_to_end_encryption notes spreed music memories phonetrack;
maps = pkgs.fetchNextcloudApp {
sha256 = "sha256-seGhUw6+YfoyoBtFtOBUYbJrjRaW7ey9D6QdKu0pmOE=";
url = "https://github.com/nextcloud/maps/releases/download/v1.5.0-1-nightly/maps-1.5.0-1-nightly.tar.gz";
license = "agpl3Plus";
};
};
extraAppsEnable = true;
settings = {