From ee662d342e04991cb2c38e14cf08337437940903 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Wed, 15 May 2024 03:42:39 +0200 Subject: [PATCH] Add direnv --- home/zsh/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/home/zsh/default.nix b/home/zsh/default.nix index 520c46c..b183836 100644 --- a/home/zsh/default.nix +++ b/home/zsh/default.nix @@ -1,5 +1,14 @@ { user, pkgs, ... }: { home.packages = with pkgs; [ fd ]; + programs.direnv = { + enable = true; + enableZshIntegration = true; + package = pkgs.unstable.direnv; + nix-direnv = { + enable = true; + package = pkgs.unstable.nix-direnv; + }; + }; programs.zsh = { enable = true; autocd = false;