FAQ: Difference between revisions
→Why is Nix written in C++ rather than a functional language like Haskell?: Cleanup: Is mentioning the perl removal project relevant? |
m prefer nix.settings over nix.extraConfig for clarity purposes |
||
Line 29: | Line 29: | ||
{ config, pkgs, lib, ... }: | { config, pkgs, lib, ... }: | ||
{ | { | ||
nix. | nix.settings = { | ||
keep-outputs = true | keep-outputs = true; | ||
keep-derivations = true | keep-derivations = true; | ||
# See https://nixos.org/manual/nix/stable/command-ref/conf-file.html | |||
# for a complete list of Nix configuration options. | |||
}; | |||
}</syntaxhighlight> | }</syntaxhighlight> | ||
Check 'man configuration.nix' for these options. Rebuild for these options to take effect: | Check 'man configuration.nix' for these options. Rebuild for these options to take effect: |