hm: zathura

This commit is contained in:
2026-10-04 10:56:25 +02:00
parent 715598790f
commit 2e584e618c
2 changed files with 24 additions and 0 deletions

23
modules/apps/zathura.nix Normal file
View File

@@ -0,0 +1,23 @@
{ ... }:
{
# 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
}
}