Trimmed out some unnecessary packages

This commit is contained in:
Emmet 2024-03-09 16:36:51 -06:00
parent 7f0daacd08
commit b5358a1adf
7 changed files with 31 additions and 135 deletions

View file

@ -1,25 +0,0 @@
{ pkgs, ... }:
let
myYtpScript = ''
#!/bin/sh
ytsub --video-player mpv
'';
myYtaScript = ''
#!/bin/sh
yt-dlp -x --audio-format mp3 $1
'';
myYtdScript = ''
#!/bin/sh
pushd ~/Media/Podcasts;
ytsub --video-player ~/.nix-profile/bin/yta;
popd;
'';
in
{
home.packages = [
pkgs.yt-dlp
(pkgs.writeScriptBin "ytp" myYtpScript)
(pkgs.writeScriptBin "yta" myYtaScript)
(pkgs.writeScriptBin "ytd" myYtdScript)
];
}