refactor(shell): split shell config

This commit is contained in:
Felix Schröter 2023-03-17 12:37:26 +01:00
parent fe0d7069c1
commit 22bf1600b1
Signed by: felschr
GPG key ID: 671E39E6744C807D
7 changed files with 102 additions and 85 deletions

14
home/shell/direnv.nix Normal file
View file

@ -0,0 +1,14 @@
{ config, pkgs, ... }:
{
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
# for .envrc's in child directories add "source_up"
# for them to pick up this config
home.file."dev/work/.envrc".text = ''
dotenv
'';
}