From d823b2a49e37a8006ed9fcbd5052e45b4bcb5dcb Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Thu, 25 Jan 2024 14:57:18 -0500 Subject: [PATCH] fix: homebrew programs not in path --- modules/darwin/homebrew.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/darwin/homebrew.nix b/modules/darwin/homebrew.nix index 03997b3..b3a0618 100644 --- a/modules/darwin/homebrew.nix +++ b/modules/darwin/homebrew.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, ... }: { +{ config, pkgs, lib, ... }: { # Homebrew - Mac-specific packages that aren't in Nix config = lib.mkIf pkgs.stdenv.isDarwin { @@ -13,6 +13,10 @@ fi ''; + # Add homebrew paths to CLI path + home-manager.users.${config.user}.home.sessionPath = + [ "/opt/homebrew/bin/" ]; + homebrew = { enable = true; onActivation = {