Added basic Zathura configuration
This commit is contained in:
parent
7db66bf1b4
commit
e96cbd6209
|
@ -11,6 +11,7 @@
|
||||||
./media.nix
|
./media.nix
|
||||||
./nextcloud.nix
|
./nextcloud.nix
|
||||||
./spotify.nix
|
./spotify.nix
|
||||||
|
./zathura.nix
|
||||||
./zeal.nix
|
./zeal.nix
|
||||||
|
|
||||||
./i3
|
./i3
|
||||||
|
|
16
modules/applications/zathura.nix
Normal file
16
modules/applications/zathura.nix
Normal 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; }; };
|
||||||
|
};
|
||||||
|
}
|
Reference in New Issue
Block a user