From 5da01d688fcfd4d1956197f7b7f9372e88687d05 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sat, 4 Nov 2023 16:52:03 +0300 Subject: 2023-11-04 --- modules/common/zathura.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules/common/zathura.nix') diff --git a/modules/common/zathura.nix b/modules/common/zathura.nix index f78a9e9..408f218 100644 --- a/modules/common/zathura.nix +++ b/modules/common/zathura.nix @@ -10,6 +10,11 @@ in { mkEnableOption "Zathura PDF reader"; config = mkIf cfg.enable { + nixfiles.modules.common.xdg.defaultApplications."org.pwmt.zathura" = [ + "application/pdf" + "application/epub+zip" + ]; + hm.programs.zathura = with config.nixfiles.modules; { enable = true; -- cgit 1.4.1