Unfree software: Difference between revisions

Gerg-L (talk | contribs)
allowUnfree works in home-manager post issue #2942
Razushi (talk | contribs)
Added missing `nixpkgs.config.` prefix for proper scoping.
Line 6: Line 6:
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{
{
   allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
   nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
     "vscode"
     "vscode"
   ];
   ];