add youtube-download-music
This commit is contained in:
parent
a37495cc43
commit
26e57030ee
2 changed files with 8 additions and 2 deletions
|
@ -14,8 +14,6 @@
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
networking.hostName = "sterni";
|
networking.hostName = "sterni";
|
||||||
|
|
||||||
system.custom.wifi.interfaces = [ "wlp3s0" ];
|
system.custom.wifi.interfaces = [ "wlp3s0" ];
|
||||||
|
|
|
@ -299,6 +299,14 @@ in {
|
||||||
'')
|
'')
|
||||||
powertop
|
powertop
|
||||||
|
|
||||||
|
(pkgs.writers.writeBashBin "youtube-download-music" ''
|
||||||
|
${pkgs.youtube-dl}/bin/youtube-dl \
|
||||||
|
--extract-audio \
|
||||||
|
--audio-format vorbis \
|
||||||
|
--audio-quality 0 \
|
||||||
|
"$@"
|
||||||
|
'')
|
||||||
|
|
||||||
memo
|
memo
|
||||||
nixfmt
|
nixfmt
|
||||||
dateutils
|
dateutils
|
||||||
|
|
Loading…
Reference in a new issue