nixos/sing-box: wait until network is up

This commit is contained in:
Sizhe Zhao
2025-12-02 12:47:51 +08:00
parent 03d364637d
commit 716ce143d9
@@ -88,6 +88,8 @@ in
"${lib.getExe cfg.package} -D \${STATE_DIRECTORY} -C \${RUNTIME_DIRECTORY} run"
];
};
# After= is specified by upstream
requires = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ];
};