yt-dlp: remove redundant extraConfig test
This commit is contained in:
parent
b558d54215
commit
78a8fae57f
5 changed files with 2 additions and 18 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
'';
|
||||
}
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
--config-locations /home/user/.yt-dlp.conf
|
||||
|
||||
|
|
@ -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}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue