Pin zathura catpuccin theme to version
This commit is contained in:
parent
91d2c0f36d
commit
fed61608db
1 changed files with 8 additions and 5 deletions
|
@ -6,16 +6,19 @@
|
||||||
}: with lib; let
|
}: with lib; let
|
||||||
cfg = config.modules.programs.zathura;
|
cfg = config.modules.programs.zathura;
|
||||||
username = config.modules.other.system.username;
|
username = config.modules.other.system.username;
|
||||||
|
catppuccin = pkgs.fetchFromGitHub {
|
||||||
|
owner = "catppuccin";
|
||||||
|
repo = "zathura";
|
||||||
|
rev = "4eb02fd206de63b2423f6deb58242d352545b52f";
|
||||||
|
hash = "sha256-/vD/hOi6KcaGyAp6Az7jL5/tQSGRzIrf0oHjAJf4QbI=";
|
||||||
|
};
|
||||||
|
|
||||||
in {
|
in {
|
||||||
options.modules.programs.zathura.enable = mkEnableOption "zathura";
|
options.modules.programs.zathura.enable = mkEnableOption "zathura";
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home-manager.users.${username} = {
|
home-manager.users.${username} = {
|
||||||
xdg.configFile."zathura/catppuccin-mocha".source = pkgs.fetchurl {
|
xdg.configFile."zathura/catppuccin-mocha".source = "${catppuccin}/src/catppuccin-mocha";
|
||||||
url = "https://raw.githubusercontent.com/catppuccin/zathura/main/src/catppuccin-mocha";
|
|
||||||
hash = "sha256-/HXecio3My2eXTpY7JoYiN9mnXsps4PAThDPs4OCsAk=";
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.zathura = {
|
programs.zathura = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue