Skip to content

Commit

Permalink
nixos/sing-box: unset deprecated geoip and geosite options by default
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCao committed Feb 1, 2025
1 parent c8cef28 commit 3a66105
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions nixos/modules/services/networking/sing-box.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,6 @@ in
settings = lib.mkOption {
type = lib.types.submodule {
freeformType = settingsFormat.type;
options = {
route = {
geoip.path = lib.mkOption {
type = lib.types.path;
default = "${pkgs.sing-geoip}/share/sing-box/geoip.db";
defaultText = lib.literalExpression "\${pkgs.sing-geoip}/share/sing-box/geoip.db";
description = ''
The path to the sing-geoip database.
'';
};
geosite.path = lib.mkOption {
type = lib.types.path;
default = "${pkgs.sing-geosite}/share/sing-box/geosite.db";
defaultText = lib.literalExpression "\${pkgs.sing-geosite}/share/sing-box/geosite.db";
description = ''
The path to the sing-geosite database.
'';
};
};
};
};
default = { };
description = ''
Expand Down

0 comments on commit 3a66105

Please sign in to comment.