various unimportant changes

This commit is contained in:
Ingolf Wagner 2023-09-08 09:46:41 +02:00
parent a40df14732
commit 2639ac3cf7
Signed by: palo
GPG key ID: 76BF5F1928B9618B
4 changed files with 32 additions and 2 deletions

View file

@ -49,6 +49,7 @@
#./kiosk.nix
./trilium.nix
./gitea.nix
#./atuin.nix
./cache.nix

View file

@ -51,6 +51,16 @@ let
target = "/media/youtube/series/Sunk Cost Galaxy";
output = "Sunk Cost Galaxy S01E%(playlist_index)s %(title)s.%(ext)s";
};
BigLez = {
url = "https://www.youtube.com/watch?list=PLGMC7oz7XpmCR1RWxqvFWvXVO_ry6FdHI";
target = "/media/youtube/series/Big Lez";
output = "Big Lez S01E%(playlist_index)s %(title)s.%(ext)s";
};
Sassy = {
url = "https://www.youtube.com/watch?v=Dw_tGRblTXk";
target = "/media/youtube/series/Big Lez";
output = "Big Lez S02E01 %(title)s.%(ext)s";
};
# channels
# --------
@ -145,6 +155,11 @@ let
target = "/media/youtube/loot";
output = "%(title)s.%(ext)s";
};
FridayVideos = {
url = "https://www.youtube.com/playlist?list=PLP33x-q_GftbqHBybHABOwsRcUX7XZl_D";
target = "/media/youtube/loot";
output = "%(title)s.%(ext)s";
};
};
downloadScript =
@ -154,6 +169,7 @@ let
, sponsorBlockCategories ? [ "default" ]
, notOlderThan ? "" # e.g: 1week
, breakOnExisting ? true
, reverse ? false
}: pkgs.writers.writeDash "download-script-${name}" ''
mkdir -p "${target}"
yt-dlp \
@ -161,7 +177,7 @@ let
--no-mark-watched \
--continue \
${optionalString (notOlderThan != "") "--dateafter now-${notOlderThan}" } \
--playlist-reverse \
${optionalString reverse "--playlist-reverse" } \
--download-archive "${target}/.downloaded.txt" \
--output "${target}/${output}" \
--format "bestvideo[ext=mp4]+bestaudio[ext=m4a]" \

View file

@ -82,7 +82,19 @@ in
#fractal
#legacy_2205.mirage-im
#cinny-desktop
fluffychat
#fluffychat
#(fluffychat.overrideAttrs
# (old: rec {
# version = "1.13.0";
# src = fetchFromGitHub {
# owner = "krille-chan";
# repo = "fluffychat";
# rev = "v${version}";
# hash = "sha256-w29Nxs/d0b18jMvWnrRUjEGqY4jGtuEGodg+ncCAaVc=";
# };
# vendorHash = "";
# })
#)
tor-browser-bundle-bin
#(tor-browser-bundle-bin.overrideAttrs (old: rec {

View file

@ -0,0 +1 @@