nixos-config/home/shell/direnv.nix
Felix Schröter 6780000825
All checks were successful
Test / tests (push) Successful in 11m49s
chore(nix): adopt new recommended Lix installation
The Lix NixOS module is not needed anymore with this approach.
2025-09-15 21:11:41 +02:00

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
'';
}