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;