Flakes: Difference between revisions

DoggoBit (talk | contribs)
Move section about structure to the top, add nixConfig attribute
DoggoBit (talk | contribs)
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>.}}