feat: speed-up nix shells with nix-direnv

This commit is contained in:
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 = {
package = pkgs.nixFlakes;
extraOptions = "experimental-features = nix-command flakes";
extraOptions = ''
experimental-features = nix-command flakes
keep-outputs = true
keep-derivations = true
'';
autoOptimiseStore = true;
gc = {

View File

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