hm: zathura

This commit is contained in:
djaidjai committed 2026-10-04 10:56:25 +02:00
1 parent 715598790f
commit 2e584e618c
2 files changed
+24

No files matched your search

+1
View File
@@ -7,6 +7,7 @@
./mpv.nix
./starship.nix
./tealdeer.nix
./zathura.nix
];
services.flatpak = {
enable = true;
+23
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
}
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.