nixos/magnetico: fix eval

Changed files
+3 -3
nixos
modules
services
torrent
+3 -3
nixos/modules/services/torrent/magnetico.nix
···
credentialsFile
else
pkgs.writeText "magnetico-credentials" (
-
concatStrings (mapAttrsToList (user: hash: "${user}:${hash}\n") cfg.web.credentials)
+
lib.concatStrings (lib.mapAttrsToList (user: hash: "${user}:${hash}\n") cfg.web.credentials)
);
# default options in magneticod/main.go
···
crawlerArgs =
with cfg.crawler;
-
escapeShellArgs (
+
lib.escapeShellArgs (
[
"--database=${dbURI}"
"--indexer-addr=${address}:${toString port}"
···
webArgs =
with cfg.web;
-
escapeShellArgs (
+
lib.escapeShellArgs (
[
"--database=${dbURI}"
(