Move direnv
This commit is contained in:
parent
8a2c922b27
commit
6ea92afacd
4 changed files with 5 additions and 5 deletions
6
modules/common/direnv.nix
Normal file
6
modules/common/direnv.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
}
|
|
@ -1,7 +1,10 @@
|
|||
{pkgs, ...}: {
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
interactiveShellInit = "neofetch";
|
||||
interactiveShellInit = ''
|
||||
direnv hook fish | source
|
||||
neofetch
|
||||
'';
|
||||
};
|
||||
environment = {
|
||||
sessionVariables.fish_greeting = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue