mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-18 02:55:12 -05:00
refactor: foldered a bunch of packages
This commit is contained in:
parent
18258dec54
commit
6196e80d62
27 changed files with 278 additions and 223 deletions
6
home-manager/modules/yt-dlp/config/extraConfig.nix
Normal file
6
home-manager/modules/yt-dlp/config/extraConfig.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
extraConfig = ''
|
||||
--embed-chapters
|
||||
--audio-quality 0
|
||||
'';
|
||||
}
|
9
home-manager/modules/yt-dlp/config/settings.nix
Normal file
9
home-manager/modules/yt-dlp/config/settings.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
settings = {
|
||||
embed-thumbnail = true;
|
||||
embed-subs = true;
|
||||
sub-langs = "english";
|
||||
downloader = "aria2c";
|
||||
downloader-args = "aria2c:'-c -x8 -s8 -k1M'";
|
||||
};
|
||||
}
|
10
home-manager/modules/yt-dlp/default.nix
Executable file
10
home-manager/modules/yt-dlp/default.nix
Executable file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
programs.yt-dlp = let
|
||||
configPath = ./config;
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
}
|
||||
// (import (configPath + /extraConfig.nix))
|
||||
// (import (configPath + /settings.nix));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue