From 7de19098e54e84bf31634f6964f5cba8031776d2 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Thu, 5 May 2022 17:42:41 +0200 Subject: [PATCH] programs: Install mkvtoolnix-gui if gui is enabled --- users/simon/modules/programs.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/users/simon/modules/programs.nix b/users/simon/modules/programs.nix index 8fd6aed..2b40340 100644 --- a/users/simon/modules/programs.nix +++ b/users/simon/modules/programs.nix @@ -114,7 +114,6 @@ in # audio and video ffmpeg-full # A/V multitool mediainfo # show information about media files - mkvtoolnix-cli # matroska (de-)muxing streamlink # video stream downloader waifu2x-converter-cpp # super-resolution for anime-style images waifu2x-photo # waifu2x-converter-cpp for real life photos @@ -140,6 +139,8 @@ in # documents mupdf # document (pdf) viewer and tools poppler_utils # pdf manipulation tools + ] ++ lib.optionals (!nixosConfig.sbruder.gui.enable) [ + mkvtoolnix-cli # matroska (de-)muxing ] ++ lib.optionals nixosConfig.sbruder.gui.enable [ # communication claws-mail # email client that looks ugly but just works @@ -160,6 +161,7 @@ in # audio and video libbluray # includes command line tools + mkvtoolnix # matroska (de-)muxing with gui wf-recorder # wlroots screen recorder # documents