From 743715a6cc96d5fd0aaec278bf22052686677fed Mon Sep 17 00:00:00 2001 From: xqtc161 Date: Mon, 19 Feb 2024 23:47:30 +0100 Subject: [PATCH] Added slskd --- hosts/seraphim/default.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/hosts/seraphim/default.nix b/hosts/seraphim/default.nix index d1d3b9e..429e83b 100644 --- a/hosts/seraphim/default.nix +++ b/hosts/seraphim/default.nix @@ -8,6 +8,7 @@ imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix + ../gc.nix ]; nixpkgs.config.allowUnfree = true; nix.settings.experimental-features = [ "nix-command" "flakes" ]; @@ -111,6 +112,17 @@ services.jellyfin.enable = true; 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 # started in user sessions. programs.mtr.enable = true; @@ -125,7 +137,7 @@ services.openssh.enable = true; # Open ports in the firewall. - networking.firewall.allowedTCPPorts = [ 22 8096 9091 ]; + networking.firewall.allowedTCPPorts = [ 22 8096 9091 5001 ]; # networking.firewall.allowedUDPPorts = [ ... ]; # Or disable the firewall altogether. # networking.firewall.enable = false;