feat(zsh): enable direnv separately

main
mandlm 2022-07-12 15:56:01 +02:00
parent c898efcfa1
commit 077daf284b
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
3 changed files with 11 additions and 2 deletions

10
home-manager/direnv.nix Normal file
View File

@ -0,0 +1,10 @@
{ config, lib, pkgs, user, ... }:
{
programs = {
direnv = {
enable = true;
enableZshIntegration = true;
};
};
}

View File

@ -13,7 +13,6 @@
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
plugins = [ plugins = [
"direnv"
"vi-mode" "vi-mode"
]; ];
}; };

View File

@ -23,7 +23,6 @@
whatsapp-for-linux whatsapp-for-linux
nextcloud-client nextcloud-client
keepassxc keepassxc
direnv
tree tree
light light
element-desktop element-desktop
@ -47,5 +46,6 @@
home-manager/starship.nix home-manager/starship.nix
home-manager/i3 home-manager/i3
./home-manager/rofi.nix ./home-manager/rofi.nix
./home-manager/direnv.nix
]; ];
} }