feat: Added seafile and remove homeassistant

This commit is contained in:
uttarayan21
2025-06-15 03:11:32 +05:30
parent 935231c118
commit 5d598b20d5
3 changed files with 52 additions and 11 deletions

View File

@@ -1,13 +1,12 @@
{config, ...}: {
# sops = {
# secrets."nextcloud/adminpass".owner = config.users.users.caddy.name;
# };
nixpkgs.config.allowBroken = true;
sops = {
secrets."nextcloud/adminpass".owner = config.users.users.caddy.name;
};
services = {
seafile = {
enable = true;
# group = config.services.caddy.group;
adminEmail = "admin@uttarayan.me";
adminEmail = "admin@darksailor.dev";
initialAdminPassword = "foobar";
seahubExtraConf =
@@ -18,11 +17,11 @@
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 = 'REMOTE_USER'
REMOTE_USER_HEADER = "HTTP_REMOTE_USER"
# 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.
# REMOTE_USER_DOMAIN = 'uttarayan.me'
REMOTE_USER_DOMAIN = "darksailor.dev"
# Optional, whether to create new user in Seafile system, default value is True.
# If this setting is disabled, users doesn't preexist in the Seafile DB cannot login.
# The admin has to first import the users from external systems like LDAP.