From 92b388abb1caebfa58d27e6308d69dd1b063d3ec Mon Sep 17 00:00:00 2001 From: imxyy_soope_ Date: Sat, 8 Aug 2026 10:58:48 +0800 Subject: [PATCH] selector4nix: listen 0.0.0.0 --- modules/core/nix.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/core/nix.nix b/modules/core/nix.nix index 75e9fb9..f1b74ee 100644 --- a/modules/core/nix.nix +++ b/modules/core/nix.nix @@ -45,7 +45,10 @@ in enable = true; configureSubstituter = "keep"; settings = { - server.port = 5496; + server = { + ip = "0.0.0.0"; + port = 5496; + }; substituters = map (subst: if builtins.isString subst then { url = subst; } else subst) [ "https://mirror.sjtu.edu.cn/nix-channels/store" "https://mirrors.sjtug.sjtu.edu.cn/nix-channels/store"