Separate Nix page into sections

Anthony Wang 2022-03-25 10:55:23 -05:00
parent 9f2e5d9744
commit 85ec7df481

12
Nix.md

@ -1,6 +1,6 @@
**[Nix](https://wiki.archlinux.org/title/Nix)** is a purely functional package manager that exozyme users can use to install [packages](https://search.nixos.org/packages).
## Usage
## Configuration
You must be in the `nix-users` group to use Nix. Ask on Matrix to get this set up.
@ -11,6 +11,14 @@ nix-channel --update
```
to configure a channel (repository).
Now you can install packages with `nix-env --install`.
Now add the `~/.nix-profile/bin` directory to your `$PATH`.
## Usage
You can install packages with `nix-env --install`. `nix-env --query` lists all directly installed packages and `nix-env --uninstall` will remove a package.
Check out [this guide](https://nixos.org/guides/dev-environment.html) for setting up a development environment.
## Tips and tricks
To run OpenGL and Vulkan applications, install [NixGL](https://github.com/guibou/nixGL).