add direnv setup
This commit is contained in:
parent
5f84140d34
commit
d770ae8b26
3 changed files with 79 additions and 0 deletions
15
home/common/direnv.nix
Normal file
15
home/common/direnv.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
with pkgs;
|
||||
{
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableBashIntegration = true;
|
||||
enableFishIntegration = true;
|
||||
stdlib = builtins.readFile ./.direnvrc;
|
||||
};
|
||||
|
||||
home.file.".envrc".text = ''
|
||||
dotenv
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue