|
@ -2,7 +2,7 @@ |
|
|
#+AUTHOR: Christopher James Hayward |
|
|
#+AUTHOR: Christopher James Hayward |
|
|
#+EMAIL: chris@chrishayward.xyz |
|
|
#+EMAIL: chris@chrishayward.xyz |
|
|
|
|
|
|
|
|
#+ROAM_KEY: https://github.com/chayward1/dotfiles |
|
|
|
|
|
|
|
|
#+ROAM_KEY: https://github.com/chayward1/dotfiles/ |
|
|
|
|
|
|
|
|
#+begin_example |
|
|
#+begin_example |
|
|
_.-="_- _ |
|
|
_.-="_- _ |
|
@ -36,19 +36,18 @@ Assuming you have completed all of the following tasks prior to proceeding furth |
|
|
1. Imported the =secrets= |
|
|
1. Imported the =secrets= |
|
|
2. Initialized the =passwords= |
|
|
2. Initialized the =passwords= |
|
|
3. Defined the =host= file |
|
|
3. Defined the =host= file |
|
|
4. Created all required symbolic links |
|
|
|
|
|
|
|
|
4. Create a symbolic link from ~~/.emacs.d~ to this repository |
|
|
|
|
|
5. Run emacs ~~exec emacs -mm --debug-init~ |
|
|
|
|
|
|
|
|
Load the host configuration. |
|
|
|
|
|
|
|
|
The rest of the code in this file is to define *what* gets loaded from *where* on *which* systems. |
|
|
|
|
|
|
|
|
#+begin_src emacs-lisp |
|
|
#+begin_src emacs-lisp |
|
|
|
|
|
;; Load the host configuration. |
|
|
(let ((host-file (concat user-emacs-directory "/hosts/" system-name ".el"))) |
|
|
(let ((host-file (concat user-emacs-directory "/hosts/" system-name ".el"))) |
|
|
(when (file-exists-p host-file) |
|
|
(when (file-exists-p host-file) |
|
|
(load-file host-file))) |
|
|
(load-file host-file))) |
|
|
#+end_src |
|
|
|
|
|
|
|
|
|
|
|
Load the enabled modules. |
|
|
|
|
|
|
|
|
|
|
|
#+begin_src emacs-lisp |
|
|
|
|
|
|
|
|
;; Load the enabled modules. |
|
|
(dolist (m dotfiles/modules) |
|
|
(dolist (m dotfiles/modules) |
|
|
(let ((mod-file (concat dotfiles/home "/modules/" (symbol-name m) ".el"))) |
|
|
(let ((mod-file (concat dotfiles/home "/modules/" (symbol-name m) ".el"))) |
|
|
(when (file-exists-p mod-file) |
|
|
(when (file-exists-p mod-file) |
|
|