1
0
Fork 0
mirror of https://git.gay/xqtc/nixos-config synced 2025-05-07 00:47:28 +02:00

add seafile

This commit is contained in:
xqtc 2025-02-27 22:33:19 +01:00
parent d4ed2bb54f
commit b86c6dd8f2
Signed by: xqtc
GPG key ID: 2C064D095926D9D1
4 changed files with 24 additions and 0 deletions
home/modules
hosts/x86_64-linux/beleth

View file

@ -45,6 +45,7 @@ in {
# ida-free
spotify
cosmic-icons
seafile-client
]))
++ (lib.optionals (config.os == "linux" && config.host != "yosai") (with pkgs; [
jellyfin-media-player

View file

@ -139,6 +139,11 @@
file_server
'';
};
"sf.heroin.trade" = {
extraConfig = ''
reverse_proxy http://127.0.0.1:8082
'';
};
"servers" = {
extraConfig = ''
metrics

View file

@ -26,6 +26,7 @@ with lib; {
./nextcloud.nix
./paperless.nix
../../docker.nix
./seafile.nix
# ./borg.nix
# ./nfs.nix
# ../../gc.nix

View file

@ -0,0 +1,17 @@
{config, lib, inputs, ...}:
{
services.seafile = {
enable = true;
adminEmail = "xqtc@heroin.trade";
initialAdminPassword = "start123";
ccnetSettings.General.SERVICE_URL = "https://sf.heroin.trade";
# seafileSettings = {
# fileserver = {
# host = "unix:/run/seafile/server.sock";
# };
# };
};
}