From 1b1fdef513556fb616216521f3bc15f3a76666c7 Mon Sep 17 00:00:00 2001 From: James Patrick Date: Sun, 22 May 2022 19:35:59 -0400 Subject: [PATCH] Zeal. Sadly doesn't have the any custom docset. Specifically it is missing nixos/home-manager. --- modules/applications/default.nix | 1 + modules/applications/zeal.nix | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 modules/applications/zeal.nix diff --git a/modules/applications/default.nix b/modules/applications/default.nix index ee99eb8..a1a2f93 100644 --- a/modules/applications/default.nix +++ b/modules/applications/default.nix @@ -11,6 +11,7 @@ ./media.nix ./nextcloud.nix ./spotify.nix + ./zeal.nix ./i3 ./sway diff --git a/modules/applications/zeal.nix b/modules/applications/zeal.nix new file mode 100644 index 0000000..e0a5b64 --- /dev/null +++ b/modules/applications/zeal.nix @@ -0,0 +1,16 @@ +{ config, lib, pkgs, ... }: +let + cfg = config.this.application.zeal; + graphical = config.this.graphical; +in with lib; { + options = { + this.application.zeal.enable = mkOption { + default = graphical.enable; + type = with types; bool; + }; + }; + + config = mkIf cfg.enable { + home-manager.users.james.home.packages = with pkgs; [ zeal ]; + }; +}