mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-17 10:35:13 -05:00
feat: changed home-manager to home
This commit is contained in:
parent
6196e80d62
commit
1ebb8a8ed3
257 changed files with 1 additions and 1 deletions
6
home/modules/yt-dlp/config/extraConfig.nix
Normal file
6
home/modules/yt-dlp/config/extraConfig.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
extraConfig = ''
|
||||
--embed-chapters
|
||||
--audio-quality 0
|
||||
'';
|
||||
}
|
9
home/modules/yt-dlp/config/settings.nix
Normal file
9
home/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/modules/yt-dlp/default.nix
Executable file
10
home/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