Me: Today I'm gong to take some time to really set up my linux machine properly

[HOURS LATER]

Me, crying: WHAT DO YOU MEAN I'M NOT SUPPOSED TO SET ENVIRONMENT VARIABLES IN .ZSHRC

Follow

@mala But where are they supposed to go?

· · tootstream · 2 · 0 · 0
@craigmaloney @mala For my Guix machine, I had to set environment variables via my window manager, i.e. in ~/.stump.d/init.lisp:

;; set PATH in Guix (can't set in .xprofile &c.)
(when (equal (machine-instance) "zanskar")
(setf (getenv "PATH") (concat "/home/slade/bin:" (getenv "PATH")))
(setf (getenv "XDG_DATA_DIRS")
(concat (getenv "XDG_DATA_DIRS") "/var/lib/flatpak/exports/share:/home/slade/.local/share/flatpak/exports/share:")))
Sign in to participate in the conversation
Octodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!