mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-17 02:25:12 -05:00
feat: added hledger and restructured some home stuff
This commit is contained in:
parent
4db6929078
commit
f642608281
13 changed files with 23 additions and 4 deletions
4
home/modules/cli/fun/yt-dlp/config/extraConfig.nix
Executable file
4
home/modules/cli/fun/yt-dlp/config/extraConfig.nix
Executable file
|
@ -0,0 +1,4 @@
|
|||
''
|
||||
--embed-chapters
|
||||
--audio-quality 0
|
||||
''
|
7
home/modules/cli/fun/yt-dlp/config/settings.nix
Executable file
7
home/modules/cli/fun/yt-dlp/config/settings.nix
Executable file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
embed-thumbnail = true;
|
||||
embed-subs = true;
|
||||
sub-langs = "english";
|
||||
downloader = "aria2c";
|
||||
downloader-args = "aria2c:'-c -x8 -s8 -k1M'";
|
||||
}
|
13
home/modules/cli/fun/yt-dlp/default.nix
Executable file
13
home/modules/cli/fun/yt-dlp/default.nix
Executable file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
programs.yt-dlp =
|
||||
let
|
||||
configPath = ./config;
|
||||
extraConfigPath = import (configPath + /extraConfig.nix);
|
||||
settingsPath = import (configPath + /settings.nix);
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
extraConfig = extraConfigPath;
|
||||
settings = settingsPath;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue