about summary refs log tree commit diff
path: root/nixos/modules/services/networking/aria2.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/networking/aria2.nix')
-rw-r--r--nixos/modules/services/networking/aria2.nix6
1 files changed, 0 insertions, 6 deletions
diff --git a/nixos/modules/services/networking/aria2.nix b/nixos/modules/services/networking/aria2.nix
index dd4823911f2b3..22d59f64163ab 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