From 6642769872755e4862db318dcf6ae31457c00a80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 9 Sep 2023 16:28:34 +0200 Subject: [PATCH] drop keep-outputs/keep-derivations from README --- README.md | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/README.md b/README.md index ba62072..ad45965 100644 --- a/README.md +++ b/README.md @@ -108,22 +108,6 @@ other available options are: } ``` -NixOS 22.11 or before requires: - -```Nix -{ pkgs, ... }: { - environment.systemPackages = with pkgs; [ direnv nix-direnv ]; - # nix options for derivations to persist garbage collection - nix.settings = { - keep-outputs = true; - keep-derivations = true; - }; - environment.pathsToLink = [ - "/share/nix-direnv" - ]; -} -``` - and sourcing the `direnvrc` from this repository in your own `$HOME/.config/direnv/direnvrc` ```bash @@ -150,9 +134,6 @@ Then add nix-direnv to `$HOME/.config/direnv/direnvrc`: source $HOME/.nix-profile/share/nix-direnv/direnvrc ``` -You also need to set `keep-outputs` and `keep-derivations` to nix.conf -as described in the installation via home-manager section. -
@@ -172,9 +153,6 @@ Then add nix-direnv to `$HOME/.config/direnv/direnvrc`: source $HOME/.nix-profile/share/nix-direnv/direnvrc ``` -You also need to set `keep-outputs` and `keep-derivations` to nix.conf -as described in the installation via home-manager section. -
@@ -191,9 +169,6 @@ and then source the direnvrc from this repository in your own source $HOME/nix-direnv/direnvrc ``` -You also need to set `keep-outputs` and `keep-derivations` to nix.conf -as described in the installation via home-manager section. -
## Usage example