feat: speed-up nix shells with nix-direnv

main
mandlm 2022-08-29 08:19:44 +02:00
parent 8963ac9e89
commit 4e8cfc0033
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
2 changed files with 6 additions and 1 deletions

View File

@ -107,7 +107,11 @@
nix = { nix = {
package = pkgs.nixFlakes; package = pkgs.nixFlakes;
extraOptions = "experimental-features = nix-command flakes"; extraOptions = ''
experimental-features = nix-command flakes
keep-outputs = true
keep-derivations = true
'';
autoOptimiseStore = true; autoOptimiseStore = true;
gc = { gc = {

View File

@ -5,6 +5,7 @@
direnv = { direnv = {
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;
nix-direnv.enable = true;
}; };
}; };
} }