Fix nix-direnv to use flakes

This commit is contained in:
Alexander Bantyev 2021-06-16 16:51:03 +03:00
parent c2ce70353c
commit e9b90eb33b
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5

View File

@ -1,7 +1,12 @@
{ config, pkgs, lib, ... }: { { config, pkgs, lib, ... }: {
home-manager.users.balsoft = { home-manager.users.balsoft = {
programs.direnv.enable = true; programs.direnv = {
programs.direnv.enableNixDirenvIntegration = true; enable = true;
nix-direnv = {
enable = true;
enableFlakes = true;
};
};
}; };
persist.state.directories = persist.state.directories =
[ "/home/balsoft/.local/share/direnv" ]; [ "/home/balsoft/.local/share/direnv" ];