tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos/magnetico: fix eval
philiptaron.tngl.sh
1 year ago
7bb552f1
18765d04
+3
-3
1 changed file
expand all
collapse all
unified
split
nixos
modules
services
torrent
magnetico.nix
+3
-3
nixos/modules/services/torrent/magnetico.nix
···
15
15
credentialsFile
16
16
else
17
17
pkgs.writeText "magnetico-credentials" (
18
18
-
concatStrings (mapAttrsToList (user: hash: "${user}:${hash}\n") cfg.web.credentials)
18
18
+
lib.concatStrings (lib.mapAttrsToList (user: hash: "${user}:${hash}\n") cfg.web.credentials)
19
19
);
20
20
21
21
# default options in magneticod/main.go
···
28
28
29
29
crawlerArgs =
30
30
with cfg.crawler;
31
31
-
escapeShellArgs (
31
31
+
lib.escapeShellArgs (
32
32
[
33
33
"--database=${dbURI}"
34
34
"--indexer-addr=${address}:${toString port}"
···
40
40
41
41
webArgs =
42
42
with cfg.web;
43
43
-
escapeShellArgs (
43
43
+
lib.escapeShellArgs (
44
44
[
45
45
"--database=${dbURI}"
46
46
(