This commit is contained in:
Hadi
2024-06-26 22:17:03 +02:00
parent dd9c61b9ff
commit 652377bd9b
2 changed files with 7 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
# Nextcloud
{ config, ... }:
let hostname = "cloud.anotherhadi.com";
in {
services.nextcloud = {
@@ -14,6 +15,11 @@ in {
[ "localhost" "127.0.0.1" "192.168.2.23" "cloud.anotherhadi.com" ];
};
nginx.recommendedHttpHeaders = true;
extraApps = {
inherit (config.services.nextcloud.package.packages.apps)
contacts calendar tasks;
};
extraAppsEnable = true;
};
services.nginx.virtualHosts.${hostname} = {
forceSSL = false;