summary refs log tree commit diff
path: root/modules/home/common.nix
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2025-07-28 14:57:02 +0200
committerMel <mel@rnrd.eu>2025-07-28 14:57:02 +0200
commit7c53b9d2788db9d88a8ec6477d467666856d3257 (patch)
tree5756db2bf58bc64ad0ed21a46ffc0d7429b80ff4 /modules/home/common.nix
parentdd628e299db5c084d9fb787df9c61603643cc8c8 (diff)
downloadminerals-7c53b9d2788db9d88a8ec6477d467666856d3257.tar.zst
minerals-7c53b9d2788db9d88a8ec6477d467666856d3257.zip
Enable direnv HM module for correct shell sourcing
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'modules/home/common.nix')
-rw-r--r--modules/home/common.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/home/common.nix b/modules/home/common.nix
index 9c62f22..e59f195 100644
--- a/modules/home/common.nix
+++ b/modules/home/common.nix
@@ -25,6 +25,11 @@
       ];
       extraConfig.init.defaultBranch = "main";
     };
+
+    direnv = {
+      enable = true;
+      nix-direnv.enable = true;
+    };
   };
 
   xdg.configFile = {