summaryrefslogtreecommitdiff
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
parentdd628e299db5c084d9fb787df9c61603643cc8c8 (diff)
downloadminerals-7c53b9d2788db9d88a8ec6477d467666856d3257.tar.zst
minerals-7c53b9d2788db9d88a8ec6477d467666856d3257.zip
Enable direnv HM module for correct shell sourcing
Signed-off-by: Mel <mel@rnrd.eu>
-rw-r--r--modules/common.nix2
-rw-r--r--modules/home/common.nix5
2 files changed, 6 insertions, 1 deletions
diff --git a/modules/common.nix b/modules/common.nix
index 45395a1..2491e35 100644
--- a/modules/common.nix
+++ b/modules/common.nix
@@ -134,7 +134,7 @@ in
meson cmake gnumake ninja gdb gcc clang clang-tools
hare haredoc
jdk maven gradle
- nil nixfmt-rfc-style direnv
+ nil nixfmt-rfc-style
nixpkgs-review nixpkgs-fmt nixpkgs-lint-community
helix alacritty ghostty
androidStudioPackages.dev
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 = {