From 1377897bf4f2a583b78f4936b079498d2ecf1fc1 Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Mon, 11 Nov 2024 00:24:53 +0100 Subject: [PATCH] move direnv to home --- hosts/lambdaos/home.nix | 5 +++++ modules/applications/zsh.nix | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hosts/lambdaos/home.nix b/hosts/lambdaos/home.nix index 4b4f919..372a712 100644 --- a/hosts/lambdaos/home.nix +++ b/hosts/lambdaos/home.nix @@ -172,6 +172,11 @@ in proc_mem_bytes = true; }; }; + direnv = { + enable = true; + enableZshIntegration = true; + nix-direnv.enable = true; + }; # Let Home Manager install and manage itself. home-manager.enable = true; # add `play funny video` as alias because why not diff --git a/modules/applications/zsh.nix b/modules/applications/zsh.nix index eb18486..3c570fa 100644 --- a/modules/applications/zsh.nix +++ b/modules/applications/zsh.nix @@ -14,11 +14,6 @@ in }; config = lib.mkIf cfg.enable { - programs.direnv = { - enable = true; - enableZshIntegration = true; - nix-direnv.enable = true; - }; programs.zsh = { enable = true; shellAliases = lib.mkIf cfg.enableAliases {