From 855b38eef52a71d9a31df056ef43a670e92baef1 Mon Sep 17 00:00:00 2001 From: cswimr Date: Mon, 18 Nov 2024 19:45:28 -0500 Subject: [PATCH] add `nix-direnv` --- nixos/development.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nixos/development.nix b/nixos/development.nix index 1f9fc50..6676a5a 100644 --- a/nixos/development.nix +++ b/nixos/development.nix @@ -1,5 +1,10 @@ { pkgs, ... }: { - environment.systemPackages = with pkgs; [ direnv devenv ]; + environment.systemPackages = with pkgs; [ devenv ]; + + programs.direnv = { + enable = true; + nix-direnv.enable = true; + }; nix.extraOptions = '' extra-substituters = https://devenv.cachix.org