add nix-direnv

This commit is contained in:
Seaswimmer 2024-11-18 19:45:28 -05:00
parent 57b94268ff
commit 855b38eef5
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -1,5 +1,10 @@
{ pkgs, ... }: { { pkgs, ... }: {
environment.systemPackages = with pkgs; [ direnv devenv ]; environment.systemPackages = with pkgs; [ devenv ];
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
nix.extraOptions = '' nix.extraOptions = ''
extra-substituters = https://devenv.cachix.org extra-substituters = https://devenv.cachix.org