18 lines
387 B
Nix
18 lines
387 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
environment.shellAliases = {
|
|
yt = "yt-dlp";
|
|
ll = "ls -la";
|
|
};
|
|
|
|
environment.etc."yt-dlp.conf".text = ''
|
|
-o /Users/briannelson/Downloads/yt-dlp/%(title)s.%(ext)s
|
|
--no-mtime
|
|
--restrict-filenames
|
|
--embed-thumbnails
|
|
--embed-metadata
|
|
--format "bestvideo[height<=1080]+bestaudio/best[height<=1080]"
|
|
--merge-output-format mp4
|
|
'';
|
|
} |