set org_device env variable
This commit is contained in:
1
base.nix
1
base.nix
@@ -161,6 +161,7 @@
|
||||
WGETRC = "${XDG_CONFIG_HOME}/wgetrc";
|
||||
XCOMPOSECACHE = "${XDG_CACHE_HOME}/X11/xcompose";
|
||||
"_JAVA_OPTIONS" = "-Djava.util.prefs.userRoot=${XDG_CONFIG_HOME}/java";
|
||||
ORG_DEVICE = "workstation";
|
||||
|
||||
# NVIDIA
|
||||
CUDA_CACHE_PATH = "${XDG_CACHE_HOME}/nv";
|
||||
|
||||
@@ -31,17 +31,17 @@ putting these variables on top, will make it easier to make this file modular.
|
||||
(cond
|
||||
((string= my/org-device "galaxy") "~/.config/doom/")
|
||||
((string= my/org-device "workstation") "~/Development/NixOS/dotfiles/doom/")
|
||||
(t "~/.config/doom/")))
|
||||
(t "~/Development/NixOS/dotfiles/doom/")))
|
||||
(defvar my/doom-data-dir
|
||||
(cond
|
||||
((string= my/org-device "galaxy") "~/.config/doom")
|
||||
((string= my/org-device "workstation") "~/.local/share/doom/")
|
||||
(t "~/.config/doom/")))
|
||||
(t "~/.local/share/doom/")))
|
||||
(defvar my/hugo-posts-dir
|
||||
(cond
|
||||
((string= my/org-device "galaxy") "~/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)
|
||||
"Path to the org-agenda cache file.")
|
||||
|
||||
Reference in New Issue
Block a user