diff options
author | K900 <me@0upti.me> | 2024-06-15 17:20:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-15 17:20:39 +0300 |
commit | 33f93a899903b55ce45ad2728a8c215b4467bcb4 (patch) | |
tree | 4a238a9b98b420b385c538d2cb47cb7897d33818 | |
parent | 0538b69494d17c75765b5096c4f9d94825fa4ace (diff) | |
parent | 7a7060c5bfae66ea06439f139ae8361f46e2bc35 (diff) |
Merge pull request #320035 from timhae/feature/tharing/fix-missing-default
Feature/tharing/fix missing default
-rw-r--r-- | nixos/modules/services/networking/aria2.nix | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/nixos/modules/services/networking/aria2.nix b/nixos/modules/services/networking/aria2.nix index dd4823911f2b3..f0d5c5c8a21e3 100644 --- a/nixos/modules/services/networking/aria2.nix +++ b/nixos/modules/services/networking/aria2.nix @@ -7,12 +7,6 @@ let defaultRpcListenPort = 6800; defaultDir = "${homeDir}/Downloads"; - rangesToStringList = map (x: - if x.from == x.to - then builtins.toString x.from - else builtins.toString x.from + "-" + builtins.toString x.to - ); - portRangesToString = ranges: lib.concatStringsSep "," (map (x: if x.from == x.to @@ -77,6 +71,7 @@ in [0]: https://aria2.github.io/manual/en/html/aria2c.html#synopsis ''; + default = { }; type = lib.types.submodule { freeformType = with lib.types; attrsOf (oneOf [ bool int float singleLineStr ]); options = { |