Flakes: Difference between revisions
Move section about structure to the top, add nixConfig attribute |
m →Nix configuration: Fix typo |
||
| Line 40: | Line 40: | ||
"nix-community.cachix.org-1:...=" | "nix-community.cachix.org-1:...=" | ||
]; | ]; | ||
} | |||
}</nowiki>|name=flake.nix|lang=nix}}{{Note|If you are used to configuring your Nix settings via the NixOS configuration, these options are under <code>nix.settings</code> and not <code>nix</code>. For example, you cannot specify the automatic storage optimisation under <code>nix.optimisation.enable</code>.}} | }</nowiki>|name=flake.nix|lang=nix}}{{Note|If you are used to configuring your Nix settings via the NixOS configuration, these options are under <code>nix.settings</code> and not <code>nix</code>. For example, you cannot specify the automatic storage optimisation under <code>nix.optimisation.enable</code>.}} | ||