dotfiles/modules/home/graphical/zathura.nix

20 lines
512 B
Nix
Raw Normal View History

{ pkgs, config, lib, ... }:
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 = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "zathura";
rev = "1bda9d8274dd327b7931886ef0c5c1eb33903814";
hash = "sha256-HWOc5tnVgU/HUcVcIXACeuu3RDH1pHO/8DQRsWqumIA=";
} + "/src/catppuccin-mocha";
};
}