From 3aee3f3005338c863e45bc54e66485355ea9300e Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 24 Jan 2023 13:55:51 +0100 Subject: enable nix-direnv --- nixos/common.nix | 4 ++++ nixpkgs/common.nix | 1 + 2 files changed, 5 insertions(+) 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; }; -- cgit v1.2.3