about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorTim Häring <tim.haering@gmail.com>2024-06-15 12:51:29 +0200
committerTim Häring <tim.haering@gmail.com>2024-06-15 12:51:29 +0200
commitf6d3113164a7abcf5197bf9e70726177683d216f (patch)
tree7713e4112f83f417092d17993b26eb4818813937 /nixos/modules
parentc339c066b893e5683830ba870b1ccd3bbea88ece (diff)
nixos/aria2: fix remove not needed code
Diffstat (limited to 'nixos/modules')
-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