diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-11-09 03:00:14 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-11-09 03:00:14 +0300 |
commit | 303b8e2ed8b836858b4dc6ca2210178ace9c6b6f (patch) | |
tree | eb0f4fbda60c70e86921109033c842fca1b3824f /modules/nixos/zathura.nix | |
parent | 2023-11-05 (diff) |
2023-11-09
Diffstat (limited to '')
-rw-r--r-- | modules/nixos/zathura.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/nixos/zathura.nix b/modules/nixos/zathura.nix new file mode 100644 index 0000000..e7d1415 --- /dev/null +++ b/modules/nixos/zathura.nix @@ -0,0 +1,15 @@ +{ + config, + lib, + ... +}: +with lib; let + cfg = config.nixfiles.modules.zathura; +in { + config = mkIf cfg.enable { + nixfiles.modules.common.xdg.defaultApplications."org.pwmt.zathura" = [ + "application/pdf" + "application/epub+zip" + ]; + }; +} |