add direnv to home manager

This commit is contained in:
Osman Faruk Bayram 2025-03-13 18:33:46 +03:00
parent f7db183202
commit da571e0717
3 changed files with 8 additions and 12 deletions

7
home/direnv.nix Normal file
View file

@ -0,0 +1,7 @@
{
programs.direnv = {
enable = true;
enableFishIntegration = true;
nix-direnv.enable = true;
};
}

View file

@ -5,6 +5,7 @@
./git.nix ./git.nix
./ssh.nix ./ssh.nix
./bash.nix ./bash.nix
./direnv.nix
./tlrc.nix ./tlrc.nix
./firefox.nix ./firefox.nix
]; ];

View file

@ -44,18 +44,6 @@
enableSSHSupport = true; enableSSHSupport = true;
}; };
programs.direnv = {
enable = true;
package = pkgs.direnv;
silent = false;
loadInNixShell = true;
direnvrcExtra = "";
nix-direnv = {
enable = true;
package = pkgs.nix-direnv;
};
};
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.