From 077daf284b621c758b61a4f458b14e4491e35757 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Tue, 12 Jul 2022 15:56:01 +0200 Subject: [PATCH] feat(zsh): enable direnv separately --- home-manager/direnv.nix | 10 ++++++++++ home-manager/zsh.nix | 1 - home-mandlm.nix | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 home-manager/direnv.nix diff --git a/home-manager/direnv.nix b/home-manager/direnv.nix new file mode 100644 index 0000000..5b56411 --- /dev/null +++ b/home-manager/direnv.nix @@ -0,0 +1,10 @@ +{ config, lib, pkgs, user, ... }: + +{ + programs = { + direnv = { + enable = true; + enableZshIntegration = true; + }; + }; +} diff --git a/home-manager/zsh.nix b/home-manager/zsh.nix index e80ad5a..d095563 100644 --- a/home-manager/zsh.nix +++ b/home-manager/zsh.nix @@ -13,7 +13,6 @@ oh-my-zsh = { enable = true; plugins = [ - "direnv" "vi-mode" ]; }; diff --git a/home-mandlm.nix b/home-mandlm.nix index e80e0aa..96821a2 100644 --- a/home-mandlm.nix +++ b/home-mandlm.nix @@ -23,7 +23,6 @@ whatsapp-for-linux nextcloud-client keepassxc - direnv tree light element-desktop @@ -47,5 +46,6 @@ home-manager/starship.nix home-manager/i3 ./home-manager/rofi.nix + ./home-manager/direnv.nix ]; }