feat: tweak slskd settings
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
c04ee285d1
commit
c852bb922c
1 changed files with 15 additions and 10 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
@ -41,7 +42,11 @@
|
||||||
domain = "slsk.escapeangle.com";
|
domain = "slsk.escapeangle.com";
|
||||||
environmentFile = config.sops.secrets.slskdEnvFile.path;
|
environmentFile = config.sops.secrets.slskdEnvFile.path;
|
||||||
settings = {
|
settings = {
|
||||||
shares.directories = [ "/data/slsk/share" ];
|
shares.directories = [ "/data/music" ];
|
||||||
|
global.upload = {
|
||||||
|
slots = 3;
|
||||||
|
speed_limit = 10000;
|
||||||
|
};
|
||||||
directories = {
|
directories = {
|
||||||
downloads = "/data/slsk/downloads";
|
downloads = "/data/slsk/downloads";
|
||||||
incomplete = "/data/slsk/incomplete";
|
incomplete = "/data/slsk/incomplete";
|
||||||
|
|
@ -54,6 +59,15 @@
|
||||||
NetworkNamespacePath = "/run/netns/vpn";
|
NetworkNamespacePath = "/run/netns/vpn";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.nginx.virtualHosts."sls.escapeangle.com" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://10.10.10.2:${toString config.services.slskd.settings.web.port}";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
users.groups.storage = {
|
users.groups.storage = {
|
||||||
name = "storage";
|
name = "storage";
|
||||||
gid = 491729;
|
gid = 491729;
|
||||||
|
|
@ -64,15 +78,6 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx.virtualHosts."sls.escapeangle.com" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
locations."/" = {
|
|
||||||
proxyPass = "http://10.10.10.2:${toString config.services.slskd.settings.web.port}";
|
|
||||||
proxyWebsockets = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.navidrome = {
|
services.navidrome = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue