dotfiles/hm/extra.nix

67 lines
1.6 KiB
Nix
Raw Normal View History

2023-11-21 21:01:56 +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;
};
};
2023-11-22 16:32:20 +01:00
};
home.packages = with pkgs; ([
# android tools
android-tools
# downloading
# transmission TODO Collision if both transmissions are active?
# Multimedia toolbox
ffmpeg
# documents
visidata
texlive.combined.scheme-full
pdftk
hunspell
hunspellDicts.en_GB-ize
hunspellDicts.en_US
hunspellDicts.fr-moderne
hunspellDicts.nl_NL
# TODO libreoffice-extension-languagetool or libreoffice-extension-grammalecte-fr
] ++ lib.optionals config.frogeye.desktop.xorg [
# multimedia editors
gimp
inkscape
darktable
blender
puddletag
musescore
audacity
# downloading
transmission-qt
# FIXME Below not on aarch64
# wine
wine
# TODO wine-gecko wine-mono lib32-libpulse (?)
# gaming
2023-11-30 19:02:32 +01:00
# steam # FIXME Requires i686-linux or something. IIRC the package says to use the NixOS config and not it directly.
2023-11-22 16:32:20 +01:00
yuzu-mainline
minecraft
# TODO factorio
]);
};
2023-10-23 22:05:56 +02:00
}