From e0d82441a0204e2b1e9fb8ebc936bc4b969b80a2 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sun, 25 Aug 2024 19:11:30 +0800 Subject: [PATCH] nixos/services/yt-dlp: fix values for systemd services --- modules/nixos/services/yt-dlp.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nixos/services/yt-dlp.nix b/modules/nixos/services/yt-dlp.nix index 3ade6a43..63aee604 100644 --- a/modules/nixos/services/yt-dlp.nix +++ b/modules/nixos/services/yt-dlp.nix @@ -181,7 +181,7 @@ in serviceConfig = { ReadWritePaths = [ job.downloadPath ] - ++ lib.mapAttrsToList (n: v: lib.optionals (v.path != null) v.path) job.metadata; + ++ lib.lists.flatten (lib.mapAttrsToList (n: v: lib.optionals (v.path != null) v.path) job.metadata); LockPersonality = true; NoNewPrivileges = true;