Files
nix-darwin/cli-tools.nix

31 lines
605 B
Nix

{ config, ... }:
{
environment.shellAliases = {
yt = "yt-dlp";
ll = "ls -la";
};
programs.git = {
enable = true;
config = {
user = {
name = "Brian Nelson";
email = "brian@briannelson.dev";
};
init = {
defaultBranch = "main";
};
};
};
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
'';
}