add nix-direnv
This commit is contained in:
parent
57b94268ff
commit
855b38eef5
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue