mirror of
https://github.com/nix-community/home-manager
synced 2024-12-21 10:33:25 +00:00
20 lines
345 B
Nix
20 lines
345 B
Nix
|
{ ... }:
|
||
|
|
||
|
{
|
||
|
programs.yt-dlp = {
|
||
|
enable = true;
|
||
|
extraConfig = ''
|
||
|
--config-locations /home/user/.yt-dlp.conf
|
||
|
'';
|
||
|
};
|
||
|
|
||
|
test.stubs.yt-dlp = { };
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileExists home-files/.config/yt-dlp/config
|
||
|
assertFileContent home-files/.config/yt-dlp/config ${
|
||
|
./yt-dlp-extraConfig-expected
|
||
|
}
|
||
|
'';
|
||
|
}
|