From ea7b064546145eb67de8b8a6b4ecb1277f1879f2 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 27 Jun 2021 00:54:55 +0200 Subject: [PATCH] home: direnv: update to new option name And enable the flakes option. I don't actually use this on my own projects, but it could be useful for other projects that I contribute to. --- home/direnv.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/home/direnv.nix b/home/direnv.nix index d81cf46..cf32628 100644 --- a/home/direnv.nix +++ b/home/direnv.nix @@ -9,7 +9,11 @@ in config.programs.direnv = lib.mkIf cfg.enable { enable = true; - # A better `use_nix` - enableNixDirenvIntegration = true; + nix-direnv = { + # A better `use_nix` + enable = true; + # And `use_flake` + enableFlakes = true; + }; }; }