diff --git a/configuration.nix b/configuration.nix index 267ad82..ebfea5c 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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 = { diff --git a/home-manager/direnv.nix b/home-manager/direnv.nix index 5b56411..1061719 100644 --- a/home-manager/direnv.nix +++ b/home-manager/direnv.nix @@ -5,6 +5,7 @@ direnv = { enable = true; enableZshIntegration = true; + nix-direnv.enable = true; }; }; }