Cheatsheet: Difference between revisions
imported>Nh2 Add "Evaluating NixOS configuration without building" |
imported>Nh2 No edit summary |
||
Line 371: | Line 371: | ||
</syntaxHighlight> | </syntaxHighlight> | ||
=== | === Evaluate a NixOS configuration without building === | ||
If you only want to evaluate `configuration.nix` without building (e.g. to syntax-check or see if you are using module options correctly), you can use: | If you only want to evaluate `configuration.nix` without building (e.g. to syntax-check or see if you are using module options correctly), you can use: |