2020-08-22 17:44:39 +02:00
|
|
|
{ pkgs, gui ? false, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
# Audio
|
|
|
|
abcde # cd ripper
|
|
|
|
shntool # split audio with cue
|
|
|
|
sidplayfp # SID chiptune player
|
|
|
|
sox # “Swiss Army knife of audio manipulation”
|
|
|
|
|
|
|
|
# Audio + Video
|
|
|
|
mediainfo # show information about media files
|
|
|
|
youtube-dl # universal video downloader
|
|
|
|
|
|
|
|
# Images
|
|
|
|
exiftool # manipulate EXIF meta data
|
|
|
|
jpegoptim # lossless jpeg optimiser
|
|
|
|
libwebp # tools for webp image format
|
|
|
|
optipng # lossless png optimiser
|
|
|
|
pngcrush
|
|
|
|
pngquant # lossy png optimisers
|
|
|
|
|
|
|
|
# Literature
|
|
|
|
mupdf # document (pdf) viewer and tools
|
|
|
|
] ++ (
|
|
|
|
if gui then [
|
|
|
|
# Audio
|
|
|
|
picard # musicbrainz tagger
|
|
|
|
|
|
|
|
# Audio + Video
|
2020-08-25 00:01:12 +02:00
|
|
|
ffmpeg-full # A/V multitool
|
2020-08-22 17:44:39 +02:00
|
|
|
mkvtoolnix # matroska (de-)muxing
|
2020-08-24 22:12:54 +02:00
|
|
|
(mpv.override { archiveSupport = true; vapoursynthSupport = true; }) # media player
|
2020-08-22 17:44:39 +02:00
|
|
|
|
|
|
|
# Literature
|
|
|
|
calibre # ebook library
|
|
|
|
zathura # plugin based document viewer
|
|
|
|
] else [
|
|
|
|
# Packages only installed when gui is disabled
|
|
|
|
mkvtoolnix-cli # matroska (de-)muxing
|
|
|
|
]
|
|
|
|
);
|
2020-08-25 21:07:42 +02:00
|
|
|
|
|
|
|
hardware.opengl.extraPackages = with pkgs; if gui then [
|
|
|
|
pkgs.vaapiIntel
|
|
|
|
] else [];
|
2020-08-22 17:44:39 +02:00
|
|
|
}
|