nextcloud

This commit is contained in:
Tasia Iso 2025-02-02 23:12:20 +01:00
parent 36244800d3
commit f08030bb2b
Signed by: tasiaiso
SSH key fingerprint: SHA256:KiRjUay5C9i6objsEOIycygBHn54pDBB3Lj7fyJ0Elw
2 changed files with 18 additions and 7 deletions

View file

@ -23,13 +23,7 @@
# }; # };
# }; # };
# environment.etc."nextcloud-admin-pass".text = "Devdevdev10!";
# services.nextcloud = {
# enable = true;
# package = pkgs.nextcloud29;
# hostName = "localhost";
# config.adminpassFile = "/etc/nextcloud-admin-pass";
# };
# services.rustdesk-server = { # services.rustdesk-server = {
# enable = true; # enable = true;

View file

@ -0,0 +1,17 @@
{config, ...}: {
services.nginx.virtualHosts."nextcloud.vulpecula.zone" = {
addSSL = true;
enableACME = true;
locations."/".proxyPass = "http://localhost:${toString config.services.forgejo.settings.server.HTTP_PORT}";
};
environment.etc."nextcloud-admin-pass".text = "Devdevdev10!";
services.nextcloud = {
enable = true;
package = pkgs.nextcloud29;
hostName = "nextcloud.vulpecula.zone";
config.adminpassFile = "/etc/nextcloud-admin-pass";
config.dbtype = "sqlite";
https = true;
};
}