hm: zathura
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
./mpv.nix
|
||||
./starship.nix
|
||||
./tealdeer.nix
|
||||
./zathura.nix
|
||||
];
|
||||
services.flatpak = {
|
||||
enable = true;
|
||||
|
||||
23
modules/apps/zathura.nix
Normal file
23
modules/apps/zathura.nix
Normal 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