Upstream Nix tips and tricks to the ArchWiki article

Anthony Wang 2022-08-15 19:25:59 -05:00
parent 78e0b5209a
commit 0d529327b3

16
Nix.md

@ -1,4 +1,4 @@
**[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).
**[Nix](https://nixos.org/)** is a purely functional package manager that exozyme users can use to install [packages](https://search.nixos.org/packages).
## Configuration
@ -17,16 +17,6 @@ You can install packages with `nix-env --install`. `nix-env --query` lists all d
Check out [this guide](https://nixos.org/guides/dev-environment.html) for setting up a development environment.
## Tips and tricks
## See also
### Graphical acceleration
To run OpenGL and Vulkan applications, install [NixGL](https://github.com/guibou/nixGL).
### Desktop integration
For integrating Nix applications with your desktop environment, add the `~/.nix-profile/share` directory to your `$XDG_DATA_DIRS`. For instance, with Fish this would look like adding `export XDG_DATA_DIRS="$HOME/.nix-profile/share:$XDG_DATA_DIRS"` to your `~/.config/fish/config.fish`.
### Locale warnings
See the [Nix wiki](https://nixos.wiki/wiki/Locales). Another fix that may work is exporting the environment variable `LC_ALL=C`.
- https://wiki.archlinux.org/title/Nix