From 171b729d281017e00fc4108ac94c8ab0a637fda9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 27 Nov 2022 15:11:49 +0100 Subject: [PATCH] update nixos example for 22.11 --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 494b78c..db381d3 100644 --- a/README.md +++ b/README.md @@ -107,10 +107,10 @@ In `/etc/nixos/configuration.nix`: { pkgs, ... }: { environment.systemPackages = with pkgs; [ direnv nix-direnv ]; # nix options for derivations to persist garbage collection - nix.extraOptions = '' - keep-outputs = true - keep-derivations = true - ''; + nix.settings = { + keep-outputs = true; + keep-derivations = true; + } environment.pathsToLink = [ "/share/nix-direnv" ];