From 14bc449701b7c381cf37225014f60c336dd72b47 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sun, 22 Dec 2024 21:23:21 -0800 Subject: [PATCH] feat(home): tea --- .../aarch64-darwin/marley@mairley/default.nix | 1 + modules/home/programs/tea/default.nix | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 modules/home/programs/tea/default.nix diff --git a/homes/aarch64-darwin/marley@mairley/default.nix b/homes/aarch64-darwin/marley@mairley/default.nix index 332c7c3..9e2d7a8 100644 --- a/homes/aarch64-darwin/marley@mairley/default.nix +++ b/homes/aarch64-darwin/marley@mairley/default.nix @@ -35,6 +35,7 @@ in ripgrep = enabled; ssh = enabled; starship = enabled; + tea = enabled; tmux = enabled; wezterm = enabled; wget = enabled; diff --git a/modules/home/programs/tea/default.nix b/modules/home/programs/tea/default.nix new file mode 100644 index 0000000..ee0b228 --- /dev/null +++ b/modules/home/programs/tea/default.nix @@ -0,0 +1,20 @@ +{ + lib, + config, + pkgs, + ... +}: +let + inherit (lib) mkEnableOption mkIf; + + cfg = config.marleyos.programs.tea; +in +{ + options.marleyos.programs.tea.enable = mkEnableOption "tea"; + + config = mkIf cfg.enable { + home.packages = with pkgs; [ + tea + ]; + }; +}