You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should mention in nixos manual Chapter 6 that options can be dicovered with nix-option and http://nixos.org/nixos/options.html. It will help newbs learn how to discover packages more easily.
As a new user, I was sticking everything I wanted inside of the systemPackages array, and I didn't not realize that programs.foo.enable is a better route to take because it configures many things automatically. For example, programs.zsh.enable = true results in nix-zsh-completions also being installed as well as features enabled, while writing environment.systemPackages = [pkgs.zsh] does not.
This will be helpful to new users.
The text was updated successfully, but these errors were encountered:
We should mention in nixos manual Chapter 6 that options can be dicovered with
nix-option
and http://nixos.org/nixos/options.html. It will help newbs learn how to discover packages more easily.As a new user, I was sticking everything I wanted inside of the
systemPackages
array, and I didn't not realize thatprograms.foo.enable
is a better route to take because it configures many things automatically. For example,programs.zsh.enable = true
results innix-zsh-completions
also being installed as well as features enabled, while writingenvironment.systemPackages = [pkgs.zsh]
does not.This will be helpful to new users.
The text was updated successfully, but these errors were encountered: