1
Fork 0
nixos-system-config/modules/desktop/apps/multimedia.nix
2024-11-21 12:52:00 +01:00

39 lines
846 B
Nix

{ pkgs, ... }:
{
environment.persistence."/nix/persist".users.hu.directories = [
".config/OpenTabletDriver"
".config/tidal-hifi"
];
environment.systemPackages = with pkgs; [
mpv
imagemagick
ffmpeg-full
yt-dlp
(pkgs.symlinkJoin {
name = "flowblade";
paths = [ pkgs.flowblade ];
buildInputs = [ pkgs.makeWrapper ];
postBuild = ''
rm "$out/bin/flowblade"
echo "#!/bin/sh" > "$out/bin/flowblade"
echo "SDL12COMPAT_NO_QUIT_VIDEO=1 \
GDK_BACKEND=x11 \
SDL_VIDEODRIVER=x11 \
${pkgs.flowblade}/bin/flowblade" >> "$out/bin/flowblade"
chmod 555 "$out/bin/flowblade"
'';
})
gimp
inkscape
krita
tidal-hifi
];
hardware.opentabletdriver = {
enable = true;
daemon.enable = true;
};
}