Skip to content

Commit

Permalink
feat(nix): update direnv config
Browse files Browse the repository at this point in the history
  • Loading branch information
radoslawgrochowski committed Dec 18, 2024
1 parent ce87434 commit e7414a1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
19 changes: 11 additions & 8 deletions modules/direnv/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{ username, pkgs, ... }: {

home-manager.users.${username} = {
home.packages = with pkgs; [
direnv
nix-direnv
];
home.file."./.config/direnv/direnv.toml".source = ./direnv.toml;
{ ... }: {
programs.direnv = {
enable = true;
silent = true;
loadInNixShell = true;
nix-direnv = {
enable = true;
};
# TODO: Update and enable shell integrations:
# enableBashIntegration = true;
# enableFishIntegration = true;
};
}
4 changes: 0 additions & 4 deletions modules/direnv/direnv.toml

This file was deleted.

0 comments on commit e7414a1

Please sign in to comment.