hm: zathura
This commit is contained in:
1 parent
715598790f
commit
2e584e618c
2 files changed
+24
No files matched your search
@@ -7,6 +7,7 @@
|
|||||||
./mpv.nix
|
./mpv.nix
|
||||||
./starship.nix
|
./starship.nix
|
||||||
./tealdeer.nix
|
./tealdeer.nix
|
||||||
|
./zathura.nix
|
||||||
];
|
];
|
||||||
services.flatpak = {
|
services.flatpak = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||