Files
nix-files/hosts/common/programs/papers.nix
2024-09-03 13:03:58 +00:00

14 lines
375 B
Nix

{ ... }:
{
sane.programs.papers = {
buildCost = 2; #< webkitgtk
sandbox.method = "bunpen";
sandbox.whitelistDbus = [ "user" ]; #< for clicking links
sandbox.whitelistDri = true; #< speedier
sandbox.whitelistWayland = true;
sandbox.autodetectCliPaths = "existingFile";
mime.associations."application/pdf" = "org.gnome.Papers.desktop";
};
}