From e9b90eb33b9a09e205c091cf1812db66f2c77a0b Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Wed, 16 Jun 2021 16:51:03 +0300 Subject: [PATCH] Fix nix-direnv to use flakes --- modules/workspace/direnv.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/workspace/direnv.nix b/modules/workspace/direnv.nix index 912c6b3..39f82f0 100644 --- a/modules/workspace/direnv.nix +++ b/modules/workspace/direnv.nix @@ -1,7 +1,12 @@ { config, pkgs, lib, ... }: { home-manager.users.balsoft = { - programs.direnv.enable = true; - programs.direnv.enableNixDirenvIntegration = true; + programs.direnv = { + enable = true; + nix-direnv = { + enable = true; + enableFlakes = true; + }; + }; }; persist.state.directories = [ "/home/balsoft/.local/share/direnv" ];