diff --git a/system/server/index/index.html b/system/server/index/index.html
index 6c24648..5e12672 100644
--- a/system/server/index/index.html
+++ b/system/server/index/index.html
@@ -76,8 +76,7 @@
Hello! I'm jsw , a frontend web developer with experience in Svelte + TS , Nix(OS) and currently learning Rust . This site is still under development, so please bear with me. In the meantime, feel free to reach out via email or explore my projects on GitHub.
diff --git a/system/server/nextcloud.nix b/system/server/nextcloud.nix
index a4c93d3..3831684 100644
--- a/system/server/nextcloud.nix
+++ b/system/server/nextcloud.nix
@@ -8,7 +8,6 @@
host = "cloud.jsw.tf";
nginxRoot = config.services.nginx.virtualHosts.${host}.root;
fpmSocket = config.services.phpfpm.pools.nextcloud.socket;
- imaginaryPort = 9005;
in {
config = lib.mkIf server {
users.groups.nextcloud.members = ["nextcloud" "caddy"];
@@ -35,15 +34,10 @@ in {
calendar
contacts
mail
+ notes
+ tasks
user_oidc
- phonetrack
;
- external = pkgs.fetchNextcloudApp {
- # https://github.com/helsinki-systems/nc4nix/blob/main/31.json #NOTE: 31.json is version.
- hash = "sha256-xVrnahqgXIXjk9gukrFgpwZiT2poUIDl83xV8hXPisw=";
- url = "https://github.com/nextcloud-releases/external/releases/download/v6.0.2/external-v6.0.2.tar.gz";
- license = "agpl3Plus";
- };
};
settings = {
@@ -60,28 +54,14 @@ in {
"OC\\Preview\\TXT"
"OC\\Preview\\XBitmap"
"OC\\Preview\\HEIC"
- "OC\Preview\Imaginary"
];
- preview_imaginary_url = "http://localhost:${builtins.toString imaginaryPort}";
- preview_format = "webp";
-
- trusted_proxies = ["127.0.0.1"];
- maintenance_window_start = 1;
- log_type = "file";
};
- phpOptions."opcache.interned_strings_buffer" = 24;
config = {
adminuser = "jsw-admin";
adminpassFile = "${config.age.secrets.nextcloud-admin-pass.path}";
dbtype = "pgsql";
};
};
- imaginary = {
- enable = true;
- port = imaginaryPort;
- address = "localhost";
- settings.returnSize = true;
- };
nginx.enable = lib.mkForce false;
phpfpm.pools.nextcloud.settings = let