diff options
-rw-r--r-- | nixos/common.nix | 4 | ||||
-rw-r--r-- | nixpkgs/common.nix | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/nixos/common.nix b/nixos/common.nix index 662116e..db6bf88 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -70,6 +70,10 @@ in nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.substituters = [ "https://nix.web.deuxfleurs.fr" ]; nix.settings.trusted-public-keys = [ "nix.web.deuxfleurs.fr:eTGL6kvaQn6cDR/F9lDYUIP9nCVR/kkshYfLDJf1yKs=" ]; + nix.extraOptions = '' + keep-outputs = true + keep-derivations = true + ''; environment.systemPackages = with pkgs; [ home-manager diff --git a/nixpkgs/common.nix b/nixpkgs/common.nix index ec0ff5b..1cfd322 100644 --- a/nixpkgs/common.nix +++ b/nixpkgs/common.nix @@ -3,6 +3,7 @@ programs.direnv = { enable = true; + nix-direnv.enable = true; enableBashIntegration = true; }; |