diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-11-04 16:52:03 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-11-04 16:52:03 +0300 |
commit | 5da01d688fcfd4d1956197f7b7f9372e88687d05 (patch) | |
tree | 662647084b947301db091928c58f83ad74dbd232 /modules/common/zathura.nix | |
parent | 2023-10-30 (diff) |
2023-11-04
Diffstat (limited to 'modules/common/zathura.nix')
-rw-r--r-- | modules/common/zathura.nix | 5 |
1 files changed, 5 insertions, 0 deletions
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; |