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, ... }: {
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" ];