Unfree software: Difference between revisions

DoggoBit (talk | contribs)
add info about home manager
Smudgebun (talk | contribs)
Added a link to the section of the Flakes page on unfree software.
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
== Allowing unfree software ==
== Allowing unfree software ==
By default, nix will refuse to evaluate any [[Derivations|derivation]] containing unfree software, prompting the user to read the manual for more details. This behaviour can be configured in different ways depending on the context of the derivation.
By default, nix will refuse to evaluate any [[Derivations|derivation]] containing unfree software, prompting the user to read the manual for more details. This behaviour can be configured in different ways depending on the context of the derivation.
=== Unfree software in Flakes ===
For allowing unfree software in a flake-based config, see: [[Flakes#Enable_unfree_software]].


=== Unfree software using Home Manager ===
=== Unfree software using Home Manager ===
Line 17: Line 20:
   ...
   ...
   nixpkgs.config.allowUnfree = true;
   nixpkgs.config.allowUnfree = true;
}</nowiki|name=home.nix|lang=nix}}
}</nowiki>|name=home.nix|lang=nix}}
[[Category:Software]]
[[Category:Software]]
[[Category:Nixpkgs]]
[[Category:Nixpkgs]]