yt-dlp: remove redundant extraConfig test

This commit is contained in:
Aguirre Matteo 2026-01-02 13:22:35 -03:00 committed by Robert Helgesson
parent b558d54215
commit 78a8fae57f
5 changed files with 2 additions and 18 deletions

View file

@ -1,5 +1,4 @@
{ lib, pkgs, ... }:
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
yt-dlp-simple-config = ./yt-dlp-simple-config.nix;
yt-dlp-extraConfig = ./yt-dlp-extraConfig.nix;
yt-dlp-config = ./yt-dlp-config.nix;
}

View file

@ -20,6 +20,6 @@
nmt.script = ''
assertFileExists home-files/.config/yt-dlp/config
assertFileContent home-files/.config/yt-dlp/config ${./yt-dlp-simple-config-expected}
assertFileContent home-files/.config/yt-dlp/config ${./yt-dlp-config-expected}
'';
}

View file

@ -1,2 +0,0 @@
--config-locations /home/user/.yt-dlp.conf

View file

@ -1,13 +0,0 @@
{
programs.yt-dlp = {
enable = true;
extraConfig = ''
--config-locations /home/user/.yt-dlp.conf
'';
};
nmt.script = ''
assertFileExists home-files/.config/yt-dlp/config
assertFileContent home-files/.config/yt-dlp/config ${./yt-dlp-extraConfig-expected}
'';
}