dotfiles/modules/home/graphical/zathura.nix
eriedaberrie aad84bfcc8 Initial commit
Note: not the actual initial commit.

I swear I will stop repeatedly force pushing to this single commit eventually
ok.
2024-09-21 01:53:58 -07:00

20 lines
512 B
Nix

{ 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";
};
}