Files
nixos/modules/apps/zathura.nix
2026-10-04 10:56:25 +02:00

24 lines
573 B
Nix

{ ... }:
{
# override nixpkgs so zathura works (the base executable segfaults, the sandbox does not)
nixpkgs.overlay = [
(final: prev: {
zathura = prev.zathura.overrideAttrs (
finalAttls: prevAttrs: {
buildCommand = prevAttrs.buildCommand + ''
mv $out/bin/zathura $out/bin/zathura-no-sandbox
mv $out/bin/zathura-sandbox $out/bin/zathura
'';
}
);
}
)
];
home-manager.users.djai.programs.zathura = {
enable = true;
mappings = [ ];# TODO extra zathura mappings
}
}