Personal-use NixOS configuration

More tweaks that might make slskd web binding more stable

+3 -3
+1
hosts/index/config/sharing/rtorrent.nix
··· 48 48 wireguardConfigFile = "/mnt/apps/rtorrent/wg0.conf"; 49 49 50 50 namespaceAddress = "192.168.15.3"; 51 + bridgeAddress = "192.168.15.7"; 51 52 52 53 openVPNPorts = [ 53 54 {
+2 -3
hosts/index/config/sharing/soulseek.nix
··· 25 25 enable = true; 26 26 27 27 namespaceAddress = "192.168.15.2"; 28 + bridgeAddress = "192.168.15.6"; 28 29 29 30 portMappings = [ 30 31 { ··· 32 33 to = config.services.slskd.settings.web.port; 33 34 } 34 35 ]; 35 - 36 - accessibleFrom = [ "127.0.0.1" ]; 37 36 38 37 openVPNPorts = [ 39 38 { ··· 60 59 }; 61 60 62 61 soulseek = { 62 + listen_ip_address = config.vpnNamespaces.${interface}.namespaceAddress; 63 63 listen_port = port; 64 64 }; 65 65 }; ··· 73 73 vpnNamespace = interface; 74 74 }; 75 75 76 - # TODO: I don't think I need this 77 76 users.users.${config.services.slskd.user}.extraGroups = [ "media" ]; 78 77 }