set org_device env variable

This commit is contained in:
2025-04-11 21:13:44 -06:00
parent c8afcac4c5
commit 512f551cf8
2 changed files with 4 additions and 3 deletions

View File

@@ -161,6 +161,7 @@
WGETRC = "${XDG_CONFIG_HOME}/wgetrc"; WGETRC = "${XDG_CONFIG_HOME}/wgetrc";
XCOMPOSECACHE = "${XDG_CACHE_HOME}/X11/xcompose"; XCOMPOSECACHE = "${XDG_CACHE_HOME}/X11/xcompose";
"_JAVA_OPTIONS" = "-Djava.util.prefs.userRoot=${XDG_CONFIG_HOME}/java"; "_JAVA_OPTIONS" = "-Djava.util.prefs.userRoot=${XDG_CONFIG_HOME}/java";
ORG_DEVICE = "workstation";
# NVIDIA # NVIDIA
CUDA_CACHE_PATH = "${XDG_CACHE_HOME}/nv"; CUDA_CACHE_PATH = "${XDG_CACHE_HOME}/nv";

View File

@@ -31,17 +31,17 @@ putting these variables on top, will make it easier to make this file modular.
(cond (cond
((string= my/org-device "galaxy") "~/.config/doom/") ((string= my/org-device "galaxy") "~/.config/doom/")
((string= my/org-device "workstation") "~/Development/NixOS/dotfiles/doom/") ((string= my/org-device "workstation") "~/Development/NixOS/dotfiles/doom/")
(t "~/.config/doom/"))) (t "~/Development/NixOS/dotfiles/doom/")))
(defvar my/doom-data-dir (defvar my/doom-data-dir
(cond (cond
((string= my/org-device "galaxy") "~/.config/doom") ((string= my/org-device "galaxy") "~/.config/doom")
((string= my/org-device "workstation") "~/.local/share/doom/") ((string= my/org-device "workstation") "~/.local/share/doom/")
(t "~/.config/doom/"))) (t "~/.local/share/doom/")))
(defvar my/hugo-posts-dir (defvar my/hugo-posts-dir
(cond (cond
((string= my/org-device "galaxy") "~/portfolio/content-org/") ((string= my/org-device "galaxy") "~/portfolio/content-org/")
((string= my/org-device "workstation") "~/Development/Websites/portfolio/content-org/") ((string= my/org-device "workstation") "~/Development/Websites/portfolio/content-org/")
(t "~/portfolio/content-org/"))) (t "~/Development/Websites/portfolio/content-org/")))
(defvar my/org-agenda-cache-file (expand-file-name ".cache" my/org-base-dir) (defvar my/org-agenda-cache-file (expand-file-name ".cache" my/org-base-dir)
"Path to the org-agenda cache file.") "Path to the org-agenda cache file.")