1
Fork 0
satellite/home/features/cli/direnv.nix

16 lines
366 B
Nix
Raw Normal View History

2023-11-04 20:18:14 +01:00
{ config, ... }: {
2023-01-15 21:37:30 +01:00
programs.direnv.enable = true;
2023-01-15 21:38:41 +01:00
programs.direnv.nix-direnv.enable = true;
2023-01-15 21:37:30 +01:00
home.sessionVariables = {
# No more long command warnings
DIRENV_WARN_TIMEOUT = "24h";
# No more usesless logs
DIRENV_LOG_FORMAT = "";
};
2023-11-04 20:18:14 +01:00
satellite.persistence.at.state.apps.direnv.directories = [
"${config.xdg.dataHome}/direnv/allow"
];
2023-01-15 21:37:30 +01:00
}