9c62eafebd
Note: not the actual initial commit. I swear I will stop repeatedly force pushing to this single commit eventually ok.
20 lines
512 B
Nix
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";
|
|
};
|
|
}
|