nichts/modules/programs/other/direnv.nix

24 lines
435 B
Nix
Raw Normal View History

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