linuxware/programs/direnv/default.nix

20 lines
328 B
Nix

{ ... }:
{
programs.direnv = {
enable = true;
nix-direnv.enable = true;
config = {
whitelist = {
prefix = [
"/mnt/internal/personal/projects"
"/mnt/internal/repos"
"/mnt/internal/shared/projects"
"/mnt/internal/shared/work"
];
};
};
};
}