nixos/sing-box: unset deprecated geoip and geosite options by default

Nick Cao 3a661055 c8cef28d

Changed files
-20
nixos
modules
services
networking
-20
nixos/modules/services/networking/sing-box.nix
···
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 = ''