diff --git a/Nix.md b/Nix.md index 2e79f6a..23746f5 100644 --- a/Nix.md +++ b/Nix.md @@ -11,7 +11,7 @@ nix-channel --update ``` to configure a channel (repository). -Now add the `~/.nix-profile/bin` directory to your `$PATH`. +Now add the `~/.nix-profile/bin` directory to your `$PATH`. For Fish, you can do this with `fish_add_path ~/.nix-profile/bin`. ## Usage @@ -21,4 +21,14 @@ Check out [this guide](https://nixos.org/guides/dev-environment.html) for settin ## Tips and tricks -To run OpenGL and Vulkan applications, install [NixGL](https://github.com/guibou/nixGL). \ No newline at end of file +### 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 + +Export the environmental variable `LC_ALL=C` to fix locale warnings. \ No newline at end of file