diff --git a/modules/home-manager/services/yt-dlp.nix b/modules/home-manager/services/yt-dlp.nix index 3ddc7acc..1599cf18 100644 --- a/modules/home-manager/services/yt-dlp.nix +++ b/modules/home-manager/services/yt-dlp.nix @@ -157,6 +157,8 @@ in { ${urls} --paths ${lib.escapeShellArg cfg.archivePath} ''; in "${archiveScript}/bin/${scriptName}"; + StandardOutput = "journal"; + StandardError = "journal"; }; }) cfg.jobs; diff --git a/modules/nixos/services/yt-dlp.nix b/modules/nixos/services/yt-dlp.nix index e36a19c6..08f1c76d 100644 --- a/modules/nixos/services/yt-dlp.nix +++ b/modules/nixos/services/yt-dlp.nix @@ -155,6 +155,8 @@ in { ProtectKernelLogs = true; ProtectKernelModules = true; ProtectKernelTunables = true; + StandardOutput = "journal"; + StandardError = "journal"; SystemCallFilter = "@system-service"; SystemCallErrorNumber = "EPERM"; };