1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/nix
2023-12-02 14:07:50 +00:00
..
APKBUILD
fix-docs-build.patch
nix-daemon.initd
nix-remote.sh
nix.pre-install
no-linkcheck.patch
README.alpine

Using Nix on Alpine
===================

The Alpine Nix package assumes a multi-user Nix setup. Therefore,
it requires users who are supposed to be able to use Nix to be
added to the `nix` group. Furthermore, the nix-daemon needs to
be started and enabled using:

	# rc-update add nix-daemon
	# rc-service nix-daemon start

If you want to use Nix with channels, it is also necessary to
configure a channel manually and update it. To do so, run the
following commands as a user that belongs to the `nix` group:

	$ nix-channel --add https://nixos.org/channels/nixpkgs-unstable
	$ nix-channel --update

For more information on Nix, refer to the Nix manual, which
is available in a separate `nix-manual` package. To read the
manual, open `usr/share/doc/nix/manual/index.html`.