Added slskd

This commit is contained in:
xqtc161 2024-02-19 23:47:30 +01:00
parent fa99a44417
commit 743715a6cc

View file

@ -8,6 +8,7 @@
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
../gc.nix
]; ];
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
@ -111,6 +112,17 @@
services.jellyfin.enable = true; services.jellyfin.enable = true;
services.jellyfin.user = "xqtc"; services.jellyfin.user = "xqtc";
services.slskd = {
enable = true;
nginx.enable = true;
nginx.domainName = "seraphim";
settings = {
soulseek = {
username = "razorbladeramen";
};
};
};
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.
programs.mtr.enable = true; programs.mtr.enable = true;
@ -125,7 +137,7 @@
services.openssh.enable = true; services.openssh.enable = true;
# Open ports in the firewall. # Open ports in the firewall.
networking.firewall.allowedTCPPorts = [ 22 8096 9091 ]; networking.firewall.allowedTCPPorts = [ 22 8096 9091 5001 ];
# networking.firewall.allowedUDPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether. # Or disable the firewall altogether.
# networking.firewall.enable = false; # networking.firewall.enable = false;