All checks were successful
Test / tests (push) Successful in 11m49s
The Lix NixOS module is not needed anymore with this approach.
15 lines
316 B
Nix
15 lines
316 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
programs.direnv = {
|
|
enable = true;
|
|
nix-direnv.enable = true;
|
|
nix-direnv.package = pkgs.lixPackageSets.stable.nix-direnv;
|
|
};
|
|
|
|
# for .envrc's in child directories add "source_up"
|
|
# for them to pick up this config
|
|
home.file."dev/work/.envrc".text = ''
|
|
dotenv
|
|
'';
|
|
}
|