complete-computing-environment/profile_vars.org

1.6 KiB
Raw Permalink Blame History

Configuring Profile Variables

{ ... }:
{
  home.sessionVariables = {

I live in Eugene, OR, USA, Earth. This used to be a UTC setup, but it's really hard to make that work sanely, so I don't.

TZ = "America/Los_Angeles";
# TODO: make this conditional on "normal linux";
# TZDIR = "/usr/share/zoneinfo";

The PATH environment variable is important to a Linux desktop if it's set in the bash_profile loading stage, it's used by various process/command execution tools to resolve binary names. If it's a thing that I want to run often, its executable files should be in PATH. A lot of these are explored in their own modules more thoroughly, visible by running elisp:(deadgrep "cce/bash&%2334;) from here.

PATH = "~/.npm/bin:~/.local/bin:~/bin:$PATH";

I use emacsclient as my EDITOR value, a common idiom variable which shell scripts and simple command-line programs use to open a user's preferred editor. Setting it as emacsclient especially from within EXWM and shell-mode is nice, because the file signaled to be editied is just opened up in the current Emacs window.

EDITOR = "emacsclient";
  };
}