nix-files/hosts/common/programs/tuba.nix

21 lines
655 B
Nix
Raw Normal View History

2023-09-24 21:38:20 +00:00
{ pkgs, ... }:
{
2023-09-24 21:38:20 +00:00
sane.programs.tuba = {
2023-09-24 23:36:05 +00:00
package = pkgs.tuba.overrideAttrs (upstream: {
postInstall = (upstream.postInstall or "") + ''
# ship a `tuba` alias to the actual tuba binary, since i can never remember its name
ln -s $out/bin/dev.geopjr.Tuba $out/bin/tuba
'';
preFixup = (upstream.preFixup or "") + ''
# 2023/09/24: fix so i can upload media when creating a post.
# see: <https://github.com/GeopJr/Tuba/issues/414#issuecomment-1732695845>
gappsWrapperArgs+=(
--prefix GDK_DEBUG , no-portals
)
'';
});
2023-09-24 21:38:20 +00:00
suggestedPrograms = [ "gnome-keyring" ];
};
}