System Gen113 @ 2025-11-20-20:40:31 by jonas@monolith

This commit is contained in:
Jonas Röger 2025-11-20 20:40:32 +01:00
parent d185f097f2
commit ce1a0acc76

View File

@ -5,6 +5,15 @@
... ...
}: let }: let
cfg = config.hive.programs.creative; cfg = config.hive.programs.creative;
avidemux-wayland-fix = pkgs.avidemux.overrideAttrs (prev: {
installPhase =
(prev.installPhase or "")
+ ''
wrapProgram $out/bin/avidemux \
--add-flags "--platform" \
--add-flags "xcb"
'';
});
in { in {
options.hive.programs.creative = { options.hive.programs.creative = {
enable = lib.mkEnableOption "Enable creative programs (video/image editing, etc.)"; enable = lib.mkEnableOption "Enable creative programs (video/image editing, etc.)";
@ -63,7 +72,11 @@ in {
hdrmerge hdrmerge
hugin hugin
] ]
++ lib.optionals cfg.video-editing-light [ffmpeg losslesscut-bin avidemux] ++ lib.optionals cfg.video-editing-light [
ffmpeg
losslesscut-bin
avidemux-wayland-fix
]
++ lib.optionals cfg.video-editing-heavy [ ++ lib.optionals cfg.video-editing-heavy [
davinci-resolve davinci-resolve
hive.bulk-transcode hive.bulk-transcode