Documentation has moved to here
How to have graphical app icons show up for packages installed with nix. It works with GNOME but doesn't work with KDE. Let me know if there is a way to have it where you don't need to log out and log back in for the app icons to show up.
add this to the end of ~/.bashrc
XDG_DATA_DIRS="$HOME/.nix-profile/share:/nix/var/nix/profiles/default/share:$XDG_DATA_DIRS"
type this command
sudo tee /etc/profile.d/nix-app-icons.sh <<EOF
XDG_DATA_DIRS="$HOME/.nix-profile/share:/nix/var/nix/profiles/default/share:$XDG_DATA_DIRS"
EOF
TODO:
- Make it so app icons are added without needing to log out and log back in
- Make it work with KDE
Here is a guide for installing nix with selinux