diff --git a/hosts/NixOracle/configuration.nix b/hosts/NixOracle/configuration.nix index 88905e7..c607d0a 100644 --- a/hosts/NixOracle/configuration.nix +++ b/hosts/NixOracle/configuration.nix @@ -69,6 +69,7 @@ in { systemd.tmpfiles.rules = [ "d /home/${username}/notebooks 0750 ${username} users -" + "d /etc/nextcloud-secrets 0750 nextcloud nextcloud -" ]; environment.etc."jupyter/jupyter_server_config.py".text = '' @@ -95,6 +96,10 @@ in { forceSSL = true; root = "${site}"; }; + virtualHosts."nextcloud.tadix.dev" = { + enableACME = true; + forceSSL = true; + }; virtualHosts."git.tadix.dev" = { enableACME = true; forceSSL = true; @@ -129,6 +134,22 @@ in { }; }; + services.nextcloud = { + enable = true; + package = pkgs.nextcloud31; + hostName = "nextcloud.tadix.dev"; + https = true; + database.createLocally = true; + config = { + adminuser = "admin"; + adminpassFile = "/etc/nextcloud-secrets/admin-password"; + }; + settings = { + default_phone_region = "BR"; + maintenance_window_start = 1; + }; + }; + services.forgejo = { enable = true; database.type = "sqlite3"; diff --git a/hosts/NixOracle/site/index.html b/hosts/NixOracle/site/index.html index 3e3df24..c17c4ab 100644 --- a/hosts/NixOracle/site/index.html +++ b/hosts/NixOracle/site/index.html @@ -22,12 +22,7 @@

PROJECTS

-

- BioLab - — bioprocess modeling and parameter estimation tool -
- source · live -

+

— loading —

@@ -42,6 +37,33 @@ github git jupyter + nextcloud + +