nichts/modules/programs/other/direnv.nix
2024-11-03 23:41:44 +01:00

23 lines
435 B
Nix

{
config,
pkgs,
...
}: let
inherit (config.modules.other.system) username;
in {
config = {
programs.direnv = {
enable = true;
package = pkgs.direnv;
nix-direnv.package = pkgs.nix-direnv;
# PLEASE BE SILENT
silent = true;
# We want direnv to load in our nix dev shells
loadInNixShell = true;
enableBashIntegration = true;
enableFishIntegration = true;
};
};
}