Follow

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

@mala the only correct place to set environment variables is rc.local

@cwebber @mala pffff set them in user.js and put firefox in your .bashrc n00b

@cathal @cwebber @mala
you can skip firefox by running linux as a nodejs process

@patterfloof @cwebber @mala nodejs ain't bulletproof though so you better containerize that.
In order to boot Linux properly remember to run npm as root.

@cathal @patterfloof @cwebber brb re-writing EFI bootloader in JS

(i mean, I mock, but half of this was down to me switching to Guix on my home laptop, and I notice it has an early-stage Guile REPL announcement as like line 2 in the Linux boot process scrollathon)

@mala @patterfloof @cwebber Oh no I feel a terrible gravity to start using guix and seriously try learning Guile Scheme. What is it with the fediverse and Guile / Guix?

@cathal @patterfloof @cwebber Founder Effect, online radicalization, THE IRRESISTIBLE BAKED GOODS SMELL OF FREEDOM

@cwebber I have absolutely no doubt about that. Also harbringer of the harmonist cult.

@cathal Fun fact (possibly connected): gravity was actually written in a beta version of Guile.

@cwebber @patterfloof @mala
@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:")))

@mala Wait, what? Huh? *panics slightly* I've been doing that the whole time!

@IceWolf I know right! You’re supposed to keep them in zshenv!! (This explains why Emacs shells never work right and my path always gets longer every time I shell out) unix.stackexchange.com/questio

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!