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";
|
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";
|
||||||
|
|||||||
@@ -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.")
|
||||||
|
|||||||
Reference in New Issue
Block a user