add youtube-download-music

feature/hass
Ingolf Wagner 2020-01-31 15:15:48 +13:00
parent a37495cc43
commit 26e57030ee
Signed by: palo
GPG Key ID: 76BF5F1928B9618B
2 changed files with 8 additions and 2 deletions

View File

@ -14,8 +14,6 @@
];
networking.hostName = "sterni";
system.custom.wifi.interfaces = [ "wlp3s0" ];

View File

@ -299,6 +299,14 @@ in {
'')
powertop
(pkgs.writers.writeBashBin "youtube-download-music" ''
${pkgs.youtube-dl}/bin/youtube-dl \
--extract-audio \
--audio-format vorbis \
--audio-quality 0 \
"$@"
'')
memo
nixfmt
dateutils