Added basic Zathura configuration

This commit is contained in:
James Patrick 2022-08-06 18:06:46 -04:00
parent 7db66bf1b4
commit e96cbd6209
2 changed files with 17 additions and 0 deletions

View File

@ -11,6 +11,7 @@
./media.nix
./nextcloud.nix
./spotify.nix
./zathura.nix
./zeal.nix
./i3

View File

@ -0,0 +1,16 @@
{ config, lib, pkgs, ... }:
let
cfg = config.this.application.zathura;
graphical = config.this.graphical;
in with lib; {
options = {
this.application.zathura.enable = mkOption {
default = graphical.enable;
type = with types; bool;
};
};
config = mkIf cfg.enable {
home-manager.users.james = { programs.zathura = { enable = true; }; };
};
}