Nix
Jump to navigation
Jump to search
Nix is a purely functional package manager.
See the Nix Package Manager Guide for information.
Installation
Nix is available in the AUR as nixAUR.
Configuration
In order to use Nix for the first time, you need to add a channel. But before, you need to address some permission issues.
Nix is by default installed in the /nix
folder. If you want to use Nix with an unprivileged account, run
sudo chown -R "${USER}:${USER}" /nix
Then, in order to add and update channels, run the following commands:
nix-channel --add https://nixos.org/channels/nixpkgs-unstable nix-channel --update nix-env -u