feat(pkg): setup direnv for automatic directory environments

This commit is contained in:
Pierre Martin
2024-06-21 05:17:12 +02:00
parent 6ae4b8367b
commit f0447a81cc
3 changed files with 16 additions and 0 deletions

View File

@@ -122,6 +122,11 @@
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
# https://github.com/nix-community/nix-direnv/
nix.extraOptions = ''
keep-outputs = true
keep-derivations = true
'';
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions