FAQ: Difference between revisions

imported>Samueldr
imported>Cillianderoiste
No edit summary
Line 309: Line 309:
   environment.systemPackages = [ unstable.PACKAGE_NAME ];
   environment.systemPackages = [ unstable.PACKAGE_NAME ];
}
}
</syntaxhighlight>
If you want to install unfree packages from unstable you need to also set allowUnfree by replacing the import statment above with:
<syntaxhighlight lang="nix">
import <nixos-unstable> { config = { allowUnfree = true; }; }
</syntaxhighlight>
</syntaxhighlight>