feat: speed-up nix shells with nix-direnv
This commit is contained in:
parent
8963ac9e89
commit
4e8cfc0033
2 changed files with 6 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
direnv = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue