From 0b4adc1eef460ced0a6a9d3d3693aa64b9c40a3b Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Wed, 3 Feb 2021 22:20:54 -0500 Subject: [PATCH] Encypt dotfiles --- README.org | 4 ++-- docs/birthdays.org.gpg | Bin 0 -> 1035 bytes docs/courses.org.gpg | Bin 0 -> 5133 bytes docs/daily/2021-02-03.org.gpg | Bin 1088 -> 1125 bytes docs/daily/2021-02-04.org.gpg | Bin 0 -> 719 bytes docs/holidays.org.gpg | Bin 0 -> 1019 bytes modules/writing.el | 13 ++++++++++--- 7 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 docs/birthdays.org.gpg create mode 100644 docs/courses.org.gpg create mode 100644 docs/daily/2021-02-04.org.gpg create mode 100644 docs/holidays.org.gpg diff --git a/README.org b/README.org index 235c158..5cdcadb 100644 --- a/README.org +++ b/README.org @@ -831,8 +831,8 @@ Override ~org-agenda-file-regexp~ to include =.org.gpg= files. Configure agenda sources. #+begin_src emacs-lisp -(setq org-agenda-files '("~/.local/source/secrets/org/" - "~/.local/source/dotfiles/docs/daily/")) +(setq org-agenda-files '("~/.emacs.d/docs/" + "~/.emacs.d/docs/daily/")) #+end_src Open an agenda buffer with =SPC a=. diff --git a/docs/birthdays.org.gpg b/docs/birthdays.org.gpg new file mode 100644 index 0000000000000000000000000000000000000000..474abe55f1532a8f43fccfe4af41b8e0cf21df22 GIT binary patch literal 1035 zcmV+m1oZob0t^G>9JMNFPA5765Bv_AR$p|~G@1C)T`GN!i&s}Q?fDD(U zTO(Kwf+7>};l?2k&qg zVWRi@x8TF6%iCioHb&x}nf`!(nGcmbCpU~MwT>r zXB+4ks&_1Lfg^aGuHo!`fy}WJ+eKjdv$W?WnhJT&{hwku+`@Ak#c^V&3##&Em~)HM zV3w#ntqRPZkDFQb^k*jkvhQn)S=#6+-kH5@EsV_7|M%VaT+e$E{S&w<#VM zt_cLm5X1Jqyn3#aT^Z8BIRR{TAXl6lrPbLo-s;?!E>gsk^F(<^sCC_+7}%H}$fk}m z>beIeH-md@)>?J8`M)2c7kpwm&SpdwKboP4Mzy{0Bj=_bwMv5v z)1hjdqgoKKWIwdWIfj5^RkFx^5C z>Y%SB{B&4)dSt>PsL6B`rA_&s6apkDyfNL8!!W16`fS&V`NQI3u;WPp+1u|W4VzOG z&0AO6pg!37TWcJ@33Z(0{Lp4v5s`vBg(OF_Bt?0!mf)mN+NmPTfKP>Yd3rq*Ti1~8 z6*9cpfOc|P0<0Ps=hoY{fm0yXCE8RXAE|!$hnsou4bB|W5Yz?JM?F#7<2P4P&ic9$ zQ}d)}xZ|Ynup&5lr1nKmXaUyvVs%pAr*o-&=tHjfiz6M{&k}PmlIBMH@UbB^Ztgida0xW{^%$)k^rgJNqay>lc4veKsWg7KxC)(>W^+}!z;4=9 F1YG|$14RG; literal 0 HcmV?d00001 diff --git a/docs/courses.org.gpg b/docs/courses.org.gpg new file mode 100644 index 0000000000000000000000000000000000000000..36e9f124a0b6cb78cf0f8ba5410bda1d3e542700 GIT binary patch literal 5133 zcmV+o6!PnZ0t^G>9JMNFPA5765Bv;VH+DPycvcuLQ&+W%i^b*wcVt^j(s@|u@0n@O zzmqh5EIVbHeb{^yQPfkXvHW?*c0PEV!km+^+Z)OL>ny7W@nYD1j39}U=MU+P82F&* zA}u6rNYq@8iqlM7)-tPoVb}BM5|ZaVXg;~lFmGP~#V*J;hmjy@_G!Ck%>+xnFfHKH z<)n+rm7d00mH_4Dk-Pe9!LMdrYD#Q(@sbZR4d`rJNyspyzRniXL&+1@xHp#=75}W8qZA?3$y^Lm z&O(rz4%*#-*tQFM(F|Nu)#NLZ4-&FYbpTv?qEBhVcI>z=yQH?Q8Sndup_B8c^~vd@ z{kahhwqwoe`;0Bk$oJCh0rFa?NvQOWW8!x#>UN}eBo-eGY(!BKd9@#%s9d3OVEe{a ztw%KVSreOmv7S=vQp12|cg}w9xKbaiJTw+aS73LBo;x9`uoJch~FG0??YiJ0sHYj)umzKHqi#rP!gAJpo^~MGwz_5t)00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@6S%eQkUu)r z_E9-VnPd^-&gn})4(0uJkMVih=U(#gl){Z)&Ac`8tIRkWDT1I##MFEV<^ild!_^T# zBeiB(5aTFCgLAPmh2Hv;R>#sCb-^#nBD>0X7g+DYnkME&dWO9h*FhwT-jsOVpTvMS zYapnEL|MkC02*`Rzi6?|&Pyg|F2qBSHk=X`X`2M0awKCs8MdxOgkg<_&cGf|vQl5x zhTo^jk)2=KuLw`uo3uFvNdHRIGRxFB*pr;n?JYL67Hjggd&`Y?k!GPJ9>X`SC{IKD z$Q6M055YTqKQi(lO*;KgHVbZ{@gD8Zd}3eY*OVE!Cpv(j3c zBY}{h9SS{j>0|&ZpR ptiom<6|qL8yRqbqc;~U%Rw$r%b8Njv?NkzXH6js<_U1pBYAVK0>@@%Y literal 0 HcmV?d00001 diff --git a/modules/writing.el b/modules/writing.el index a58ca60..48994cc 100644 --- a/modules/writing.el +++ b/modules/writing.el @@ -10,7 +10,9 @@ (use-package org-roam :hook (after-init . org-roam-mode) - :custom (org-roam-directory org-directory)) + :custom + (org-roam-directory org-directory) + (org-roam-encrypt-files t)) (use-package org-roam-server :hook (org-roam-mode . org-roam-server-mode)) @@ -127,8 +129,13 @@ (dotfiles/leader "m" '(mu4e :which-key "Mail")) -(setq org-agenda-files '("~/.local/source/secrets/org/" - "~/.local/source/dotfiles/docs/daily/")) +(unless (string-match-p "\\.gpg" org-agenda-file-regexp) + (setq org-agenda-file-regexp + (replace-regexp-in-string "\\\\\\.org" "\\\\.org\\\\(\\\\.gpg\\\\)?" + org-agenda-file-regexp))) + +(setq org-agenda-files '("~/.emacs.d/docs/" + "~/.emacs.d/docs/daily/")) (dotfiles/leader "a" '(org-agenda :which-key "Agenda"))