On Fri, 26 Jul 2024 at 12:50, Vladimir Panteleev
<g...@vladimir.panteleev.md> wrote:
> cat > ~/.config/systemd/user.conf <<EOF
> [Manager]
> ManagerEnvironment="XDG_DATA_DIRS=%h/.nix-profile/share"
> EOF

Amendment - the above may break stuff (e.g. nautilus, eog), a better value is:

ManagerEnvironment="XDG_DATA_DIRS=%h/.nix-profile/share:/usr/local/share:/usr/share"

It looks like these variables are also inherited by some child processes.

Reply via email to