diff options
| author | Grisha Shipunov | 2025-06-18 16:32:28 +0200 |
|---|---|---|
| committer | Grisha Shipunov | 2025-06-18 16:32:28 +0200 |
| commit | 186c4eb878b65002a9aae774eee3dc0abee774c4 (patch) | |
| tree | 72e43fc937daae206be721930a18a6c6105d8a87 /modules/devtools.nix | |
| parent | 66887f5c74856e04203b3621760ce1f63e139360 (diff) | |
use nixpkgs direnv module
Diffstat (limited to 'modules/devtools.nix')
| -rw-r--r-- | modules/devtools.nix | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/modules/devtools.nix b/modules/devtools.nix index 4852fc7..e41c8c6 100644 --- a/modules/devtools.nix +++ b/modules/devtools.nix @@ -19,7 +19,6 @@ gef gdb binwalk - direnv sops nil nix-index @@ -44,23 +43,5 @@ }; users.users."0xa".extraGroups = [ "wireshark" ]; - ## direnv - programs.bash.interactiveShellInit = '' - eval "$(direnv hook bash)" - ''; - programs.zsh.interactiveShellInit = '' - eval "$(direnv hook zsh)" - ''; - programs.fish.interactiveShellInit = '' - direnv hook fish | source - ''; - - # nix options for derivations to persist garbage collection - nix.extraOptions = '' - keep-outputs = true - keep-derivations = true - ''; - environment.pathsToLink = [ - "/share/nix-direnv" - ]; + programs.direnv.enable = true; } |
