dotfiles/modules/shell/direnv.nix
2022-05-29 13:44:45 -04:00

10 lines
202 B
Nix

{ config, ... }: {
home-manager.users.${config.user}.programs.direnv = {
enable = true;
nix-direnv.enable = true;
config = { whitelist = { prefix = [ config.dotfilesPath ]; }; };
};
}