feat: Disable seafile for now

This commit is contained in:
uttarayan21
2025-02-06 02:27:20 +05:30
parent 7427d88026
commit dc52311f7f
2 changed files with 6 additions and 8 deletions

View File

@@ -7,8 +7,9 @@
./minecraft.nix
./tailscale.nix
./vscode.nix
# ./nextcloud.nix
# ./seafile.nix
# ./nextcloud.nix
# ./navidrome.nix
# ./ldap.nix
# ./home-assistant.nix

View File

@@ -5,14 +5,11 @@
nixpkgs.config.allowBroken = true;
services = {
seafile = {
group = config.services.caddy.group;
enable = false;
enable = true;
# group = config.services.caddy.group;
adminEmail = "admin@uttarayan.me";
initialAdminPassword = "foobar";
seafileSettings = {
fileserver.host = "unix:/run/seafile/server.sock";
};
seahubExtraConf =
/*
python
@@ -21,7 +18,7 @@
ENABLE_REMOTE_USER_AUTHENTICATION = True
# Optional, HTTP header, which is configured in your web server conf file,
# used for Seafile to get user's unique id, default value is 'HTTP_REMOTE_USER'.
REMOTE_USER_HEADER = 'HTTP_REMOTE_USER'
REMOTE_USER_HEADER = 'HTTP_EMAIL'
# Optional, when the value of HTTP_REMOTE_USER is not a valid email address
# Seafile will build a email-like unique id from the value of 'REMOTE_USER_HEADER'
# and this domain, e.g. user1@example.com.
@@ -45,7 +42,7 @@
uri /api/authz/forward-auth
copy_headers Remote-User Remote-Groups Remote-Email Remote-Name
}
reverse_proxy unix//run/seafile/server.sock
reverse_proxy unix//run/seahub/gunicorn.sock
'';
};
};