aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/conf/init.el8
-rw-r--r--home.nix3
2 files changed, 9 insertions, 2 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el
index f92a3eb..b6cd00b 100644
--- a/gui/conf/init.el
+++ b/gui/conf/init.el
@@ -117,8 +117,12 @@
(use-package nix-mode
:ensure t)
-(use-package nix-buffer
- :ensure t)
+
+(use-package direnv
+ :ensure t
+ :config
+ (setq direnv-always-show-summary nil)
+ (direnv-mode))
(use-package org
:ensure t
diff --git a/home.nix b/home.nix
index d6390ae..8aead19 100644
--- a/home.nix
+++ b/home.nix
@@ -65,4 +65,7 @@
ns = "persistent-nix-shell -s";
cat = "bat --plain";
};
+
+ programs.direnv.enable = true;
+ programs.direnv.enableNixDirenvIntegration = true;
}