nixos/clash: fix build

This commit is contained in:
Guanran Wang 2024-01-22 00:46:58 +08:00
parent 275d8b0ef3
commit db3baf65c0
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -48,6 +48,7 @@ in {
systemd.services."clash" = {
description = "Clash daemon, A rule-based proxy in Go.";
documentation = ["https://clash.wiki/" "https://wiki.metacubex.one/"];
requires = ["network-online.target"];
after = ["network-online.target"];
wantedBy = ["multi-user.target"];
serviceConfig =