Properly add direnv

This commit is contained in:
Joshua Yuen 2025-08-28 21:39:14 -04:00
parent 991da142e6
commit 87079f64dc
Signed by: josh
GPG Key ID: 502720BC22ED411C
3 changed files with 11 additions and 1 deletions

View File

@ -45,7 +45,6 @@ in
shell = pkgs.${shellCfg.defaultShell}; shell = pkgs.${shellCfg.defaultShell};
ignoreShellProgramCheck = true; ignoreShellProgramCheck = true;
packages = with pkgs; [ packages = with pkgs; [
direnv
fzf fzf
]; ];
}; };

View File

@ -3,6 +3,7 @@
}: }:
{ {
imports = [ imports = [
./direnv.nix
./hyprland ./hyprland
./kitty.nix ./kitty.nix
./overlays.nix ./overlays.nix

10
modules/home/direnv.nix Normal file
View File

@ -0,0 +1,10 @@
{
...
}:
{
programs.direnv = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
};
}