Use another git config for work machine
This commit is contained in:
13
systems/modules/home/programs/direnv.nix
Normal file
13
systems/modules/home/programs/direnv.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ pkgs, config, ... }:
|
||||
|
||||
{
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
|
||||
home.file.".config/direnv/direnvrc" = {
|
||||
source = ./direnv/direnvrc;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user