nixos-configs/common/home-manager/zathura/default.nix

16 lines
305 B
Nix
Raw Permalink Normal View History

{ lib, config, pkgs, ... }:
with lib;
let cfg = config.xe.zathura;
in {
options.xe.zathura.enable = mkEnableOption "Zathura PDF/ePub reader";
config = mkIf cfg.enable {
home = {
packages = with pkgs; [ zathura ];
file.".config/zathura/zathurarc".source = ./zathurarc;
};
};
}