mirror of
https://github.com/librephoenix/nixos-config
synced 2025-07-06 06:52:13 +05:30
Trimmed out some unnecessary packages
This commit is contained in:
parent
7f0daacd08
commit
b5358a1adf
7 changed files with 31 additions and 135 deletions
|
@ -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)
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue