about summary refs log tree commit diff
path: root/modules/nixos/zathura.nix
blob: 95039a594c35ad95ff22b6a17eead6db0e7bffac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ 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"
    ];
  };
}

Consider giving Nix/NixOS a try! <3