dotfiles/modules/home/graphical/zathura.nix

16 lines
343 B
Nix
Raw Normal View History

{ pkgs, config, lib, pins, ... }:
let
cfg = config.my.graphical.zathura;
in {
options.my.graphical.zathura = {
enable = lib.mkEnableOption null;
};
config = lib.mkIf cfg.enable {
home.packages = [ pkgs.zathura ];
xdg.configFile."zathura/zathurarc".source =
"${pins.catppuccin-zathura}/src/catppuccin-mocha";
};
}