Skip to content

Commit

Permalink
clash: use dpip
Browse files Browse the repository at this point in the history
  • Loading branch information
inclyc committed Nov 11, 2024
1 parent d66b278 commit a073864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/clash/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ in
DynamicUser = "yes";
LoadCredential = "config.yaml:${cfg.configPath}";
WorkingDirectory = "${cfg.workingDirectory}";
ExecStartPre = "${pkgs.coreutils}/bin/ln -s ${pkgs.clash-geoip}/etc/clash/Country.mmdb ${cfg.configDirectory}";
ExecStartPre = "${pkgs.coreutils}/bin/ln -s ${pkgs.dbip-country-lite.mmdb} ${cfg.configDirectory}/Country.mmdb";
ExecStart = "${lib.getExe cfg.package}" + " -d ${cfg.configDirectory}" + " -f %d/config.yaml";
Restart = "on-failure";
CapabilityBoundingSet = [ "" ];
Expand Down

0 comments on commit a073864

Please sign in to comment.