Jump to content

Unfree software: Difference between revisions

allowUnfree works in home-manager post issue #2942
(Fix ~/.config/nixpkgs/config.nix example)
(allowUnfree works in home-manager post issue #2942)
Line 2: Line 2:


=== Per-package (Ideal) ===
=== Per-package (Ideal) ===
This method works for both NixOS system level configuration and standalone [[Home manager]]:
This method works for both NixOS system level configuration and [[Home manager]]:


{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
Line 14: Line 14:
=== For all packages ===
=== For all packages ===


This method works for NixOS system-level configuration:
This method works for both NixOS system level configuration and [[Home manager]]:


{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
7

edits