From 7718a4cdab885793606583c652f4b2ec37a0e861 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Sun, 17 Mar 2024 17:38:16 +0100 Subject: [PATCH] Move direnv to shell.nix --- home-manager/home.nix | 7 ------- home-manager/modules/shell.nix | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/home-manager/home.nix b/home-manager/home.nix index 7d71619..577fd14 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -90,11 +90,4 @@ uris = [ "qemu:///system" ]; }; }; - - # Enable direnv - programs.direnv = { - enable = true; - enableZshIntegration = true; - nix-direnv.enable = true; - }; } diff --git a/home-manager/modules/shell.nix b/home-manager/modules/shell.nix index b6360d2..7eb75da 100644 --- a/home-manager/modules/shell.nix +++ b/home-manager/modules/shell.nix @@ -90,4 +90,11 @@ enable = true; enableZshIntegration = true; }; + + # Enable direnv + programs.direnv = { + enable = true; + enableZshIntegration = true; + nix-direnv.enable = true; + }; }