dotfiles/hm/extra/default.nix

72 lines
1.8 KiB
Nix
Raw Normal View History

2024-11-30 20:06:14 +01:00
{ pkgs, lib, config, onixpkgs, ... }:
let
opkgs = import onixpkgs { inherit (pkgs) system; };
in
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
2023-12-16 17:08:18 +01:00
# Communication
signal-desktop
2024-11-30 20:06:14 +01:00
(opkgs.callPackage ./whisperx.nix { }) # Transcribe voice messages
2023-12-16 17:08:18 +01:00
2023-11-22 16:32:20 +01:00
# downloading
# transmission TODO Collision if both transmissions are active?
# Multimedia toolbox
ffmpeg
# documents
visidata
2023-12-09 00:45:33 +01:00
# texlive.combined.scheme-full
# TODO Convert existing LaTeX documents into using Nix build system
# texlive is big and not that much used, sooo
2023-11-22 16:32:20 +01:00
pdftk
2024-09-10 23:16:18 +02:00
pdfgrep
2023-11-22 16:32:20 +01:00
2024-02-17 19:05:50 +01:00
# Misc
haskellPackages.dice
2024-10-03 12:49:44 +02:00
rustdesk-flutter
2024-02-17 19:05:50 +01:00
2023-11-22 16:32:20 +01:00
] ++ lib.optionals config.frogeye.desktop.xorg [
# multimedia editors
darktable
puddletag
audacity
2024-06-20 16:47:58 +02:00
xournalpp
krita
2023-11-22 16:32:20 +01:00
# downloading
transmission-qt
2024-11-30 20:06:14 +01:00
# wine only makes sense on x86_64
2023-12-04 22:47:02 +01:00
] ++ lib.optionals pkgs.stdenv.isx86_64 [
2023-11-22 16:32:20 +01:00
wine
# TODO wine-gecko wine-mono lib32-libpulse (?)
2023-12-04 22:47:02 +01:00
] ++ lib.optionals (!stdenv.isAarch64) [
# Musescore is broken on aarch64
musescore
# Blender 4.0.1 can't compile on aarch64
# https://hydra.nixos.org/job/nixos/release-23.11/nixpkgs.blender.aarch64-linux
blender
2023-11-22 16:32:20 +01:00
]);
};
2023-10-23 22:05:56 +02:00
}