First direnv + lorri setup
This commit is contained in:
parent
a8acd67b18
commit
710b563cf7
3 changed files with 21 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./secret.nix
|
./secret.nix
|
||||||
|
../../programs/direnv/default.nix
|
||||||
../../programs/git/default.nix
|
../../programs/git/default.nix
|
||||||
../../programs/ssh/default.nix
|
../../programs/ssh/default.nix
|
||||||
../../programs/tmux/default.nix
|
../../programs/tmux/default.nix
|
||||||
|
|
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 = [
|
ignores = [
|
||||||
|
".envrc"
|
||||||
|
"shell.nix"
|
||||||
|
# Ruby dependencies in source tree
|
||||||
|
"/vendor/bundler"
|
||||||
"**/*.patch"
|
"**/*.patch"
|
||||||
];
|
];
|
||||||
userEmail = config.custom.git.email;
|
userEmail = config.custom.git.email;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue