dotfiles/modules/common/shell/direnv.nix
2023-02-20 20:37:37 -05: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 ]; }; };
};
}