From 46da79cb9474bc1280cc5a1ff4124956af00742b Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 30 Oct 2020 12:06:44 -0400 Subject: Move some email settings around --- darwin.nix | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'darwin.nix') diff --git a/darwin.nix b/darwin.nix index d91c25e..c278623 100644 --- a/darwin.nix +++ b/darwin.nix @@ -6,8 +6,20 @@ let gpgid = "D09299626FA78AF8"; in { - imports = [ ./lib/common.nix ]; - home.sessionVariables.PATH = "/usr/local/opt/mysql@5.7/bin:${homedir}/bin:${homedir}/.cabal/bin:${homedir}/.local/bin:$PATH"; + imports = [ + ./lib/common.nix + ./lib/email.nix + ]; + home = { + sessionVariables.PATH = "/usr/local/opt/mysql@5.7/bin:${homedir}/bin:${homedir}/.cabal/bin:${homedir}/.local/bin:$PATH"; + packages = with pkgs; [ + muchsync + hledger-web + hledger-ui + (haskellPackages.ghcWithPackages (ps: with ps; [hledger])) + ]; + }; + programs = { git = { @@ -43,6 +55,5 @@ in enable = true; extraPackages = epkgs: import ./lib/emacs-packages.nix { inherit epkgs; }; }; - }; } -- cgit v1.2.3