dotfiles/hm/extra/default.nix

65 lines
1.4 KiB
Nix
Raw Normal View History

2024-12-15 00:29:51 +01:00
{
pkgs,
lib,
config,
...
}:
2023-10-23 22:05:56 +02:00
{
2023-11-22 16:32:20 +01:00
config = lib.mkIf config.frogeye.extra {
programs = {
pandoc.enable = true;
yt-dlp = {
enable = true;
settings = {
format = "bestvideo[height<=${builtins.toString config.frogeye.desktop.maxVideoHeight}]+bestaudio/best";
sponsorblock-mark = "all";
sponsorblock-remove = "intro,outro,sponsor,selfpromo,preview,interaction,music_offtopic";
sub-langs = "en,fr";
write-auto-subs = true;
write-subs = true;
2025-02-23 21:59:09 +01:00
mark-watched = true; # Give something to creators, maybe
};
};
2023-11-22 16:32:20 +01:00
};
2024-12-15 00:29:51 +01:00
home.packages =
with pkgs;
(
[
# android tools
android-tools
2023-11-22 16:32:20 +01:00
2024-12-15 00:29:51 +01:00
# Communication
signal-desktop
2024-12-20 23:24:55 +01:00
(pkgs.callPackage ./whisperx.nix { }) # Transcribe voice messages
2023-12-16 17:08:18 +01:00
2024-12-15 00:29:51 +01:00
# downloading
# transmission TODO Collision if both transmissions are active?
2023-11-22 16:32:20 +01:00
2024-12-15 00:29:51 +01:00
# Multimedia toolbox
ffmpeg
2023-11-22 16:32:20 +01:00
2024-12-15 00:29:51 +01:00
# documents
visidata
pdftk
pdfgrep
2023-11-22 16:32:20 +01:00
2024-12-15 00:29:51 +01:00
# Misc
haskellPackages.dice
2024-02-17 19:05:50 +01:00
2024-12-15 00:29:51 +01:00
]
++ lib.optionals config.frogeye.desktop.xorg [
2023-11-22 16:32:20 +01:00
2024-12-15 00:29:51 +01:00
# multimedia editors
puddletag
xournalpp
2023-11-22 16:32:20 +01:00
2024-12-15 00:29:51 +01:00
# downloading
transmission_4-qt
2023-12-04 22:47:02 +01:00
# Misc
rustdesk-flutter
2024-12-15 00:29:51 +01:00
]
);
2023-11-22 16:32:20 +01:00
};
2023-10-23 22:05:56 +02:00
}