From 3a661055bb0378c79e6d2989619968c7b03c88ef Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Sat, 1 Feb 2025 09:23:36 -0500 Subject: [PATCH] nixos/sing-box: unset deprecated geoip and geosite options by default --- .../modules/services/networking/sing-box.nix | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/nixos/modules/services/networking/sing-box.nix b/nixos/modules/services/networking/sing-box.nix index becf8b62eb7ec6..f5ab12537e967d 100644 --- a/nixos/modules/services/networking/sing-box.nix +++ b/nixos/modules/services/networking/sing-box.nix @@ -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 = ''