15 lines
252 B
Nix
15 lines
252 B
Nix
|
{ config, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
programs.direnv = {
|
||
|
enable = true;
|
||
|
nix-direnv.enable = true;
|
||
|
};
|
||
|
|
||
|
# for .envrc's in child directories add "source_up"
|
||
|
# for them to pick up this config
|
||
|
home.file."dev/work/.envrc".text = ''
|
||
|
dotenv
|
||
|
'';
|
||
|
}
|