1
Fork 0
satellite/home/adrielus/features/desktop/common/zathura.nix

26 lines
598 B
Nix

{ config, pkgs, ... }:
let base16-zathura = config.lib.stylix.colors {
templateRepo = pkgs.fetchFromGitHub {
owner = "doenerkebap";
repo = "base16-zathura";
sha256 = "1zcrzll13d4lmyzibwdqkkdssyhr3c9s4yxhqigg3azsizk8adb4";
rev = "2caef8fff6a5412e05950c6105c5020a6f16ead2";
};
};
in
{
programs.zathura = {
enable = true;
extraConfig = ''
# Generated theme
include ${base16-zathura}
# Open document in fit-width mode by default
set adjust-open "best-fit"
# Inject font
set font "${config.stylix.fonts.sansSerif.name}"
'';
};
}