First direnv + lorri setup
This commit is contained in:
parent
a8acd67b18
commit
710b563cf7
3 changed files with 21 additions and 0 deletions
16
programs/direnv/default.nix
Normal file
16
programs/direnv/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
home-manager.users.charlotte = { ... }: {
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
config = {
|
||||
global = {
|
||||
strict_env = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
services.lorri.enable = true;
|
||||
};
|
||||
}
|
|
@ -20,6 +20,10 @@
|
|||
};
|
||||
};
|
||||
ignores = [
|
||||
".envrc"
|
||||
"shell.nix"
|
||||
# Ruby dependencies in source tree
|
||||
"/vendor/bundler"
|
||||
"**/*.patch"
|
||||
];
|
||||
userEmail = config.custom.git.email;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue