mirror of
https://git.gay/xqtc/nixos-config
synced 2025-05-07 00:47:28 +02:00
add seafile
This commit is contained in:
parent
d4ed2bb54f
commit
b86c6dd8f2
4 changed files with 24 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -139,6 +139,11 @@
|
|||
file_server
|
||||
'';
|
||||
};
|
||||
"sf.heroin.trade" = {
|
||||
extraConfig = ''
|
||||
reverse_proxy http://127.0.0.1:8082
|
||||
'';
|
||||
};
|
||||
"servers" = {
|
||||
extraConfig = ''
|
||||
metrics
|
||||
|
|
|
@ -26,6 +26,7 @@ with lib; {
|
|||
./nextcloud.nix
|
||||
./paperless.nix
|
||||
../../docker.nix
|
||||
./seafile.nix
|
||||
# ./borg.nix
|
||||
# ./nfs.nix
|
||||
# ../../gc.nix
|
||||
|
|
17
hosts/x86_64-linux/beleth/seafile.nix
Normal file
17
hosts/x86_64-linux/beleth/seafile.nix
Normal 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";
|
||||
# };
|
||||
# };
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue