Skip to content

Commit

Permalink
port machine settings into workstation.org
Browse files Browse the repository at this point in the history
beginning prep for setting up new machine
  • Loading branch information
joelmccracken committed Nov 15, 2023
1 parent 167f089 commit 310709a
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 6 deletions.
5 changes: 3 additions & 2 deletions hosts/glamdring/config.el
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
;;; config.el --- Description -*- lexical-binding: t; -*-
;; glamdring/

;; [[file:../../workstation.org::*glamdring/][glamdring/:1]]
(after! org
(setq org-directory "~/Dropbox/EF/")
(setq org-roam-directory "~/Dropbox/EF/")
Expand All @@ -17,4 +18,4 @@
(setq +org-capture-notes-file "inbox.org")
(setq org-mobile-files (org-agenda-files))
(setq org-mobile-inbox-for-pull "~/Dropbox/EF/inbox-mobile.org"))
;;; config.el ends here
;; glamdring/:1 ends here
5 changes: 3 additions & 2 deletions hosts/glamdring/settings.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env sh

#!/usr/bin/env bash
;; [[file:../../workstation.org::*glamdring/][glamdring/:3]]
export WORKSTATION_NAME=glamdring
;; glamdring/:3 ends here
5 changes: 3 additions & 2 deletions hosts/glamdring/zshrc.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env sh

#!/usr/bin/env bash
;; [[file:../../workstation.org::*glamdring/][glamdring/:2]]
source ~/workstation/hosts/glamdring/settings.sh
;; glamdring/:2 ends here
27 changes: 27 additions & 0 deletions workstation.org
Original file line number Diff line number Diff line change
Expand Up @@ -1107,6 +1107,33 @@ bw_unlock () {
#+end_src
* Machine profiles
*** glamdring/
#+begin_src emacs-lisp :tangle ./hosts/glamdring/config.el :noweb yes
(after! org
(setq org-directory "~/Dropbox/EF/")
(setq org-roam-directory "~/Dropbox/EF/")
(setq org-roam-db-location "~/Dropbox/EF/org-roam.glamdring.db")

(setq org-mobile-directory "~/Dropbox/Apps/MobileOrg")
(setq org-directory "~/Dropbox/EF")
(setq org-id-locations-file "~/Dropbox/EF/.orgids.el")

(setq org-agenda-files '("~/Dropbox/EF"
"~/Dropbox/EF/reference"
"~/Dropbox/EF/projects"
))

(setq +org-capture-notes-file "inbox.org")
(setq org-mobile-files (org-agenda-files))
(setq org-mobile-inbox-for-pull "~/Dropbox/EF/inbox-mobile.org"))
#+end_src

#+begin_src emacs-lisp :tangle ./hosts/glamdring/zshrc.sh :shebang "#!/usr/bin/env bash" :noweb yes
source ~/workstation/hosts/glamdring/settings.sh
#+end_src

#+begin_src emacs-lisp :tangle ./hosts/glamdring/settings.sh :shebang "#!/usr/bin/env bash" :noweb yes
export WORKSTATION_NAME=glamdring
#+end_src
*** anduril/
*** aeglos/
*** ci/
Expand Down

0 comments on commit 310709a

Please sign in to comment.