diff --git a/modules/applications/default.nix b/modules/applications/default.nix index cb87c89..ab4cf35 100644 --- a/modules/applications/default.nix +++ b/modules/applications/default.nix @@ -11,6 +11,7 @@ ./media.nix ./nextcloud.nix ./spotify.nix + ./zathura.nix ./zeal.nix ./i3 diff --git a/modules/applications/zathura.nix b/modules/applications/zathura.nix new file mode 100644 index 0000000..2199b5d --- /dev/null +++ b/modules/applications/zathura.nix @@ -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; }; }; + }; +}