From bef9506675c0022d7e608244169cddecb1e9f19a Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Sun, 18 Jul 2021 17:19:08 -0400 Subject: [PATCH] Deploy authinfo file with home manager --- README.org | 4 ++++ modules/emacs.nix | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/README.org b/README.org index 47f0f16..df1d050 100644 --- a/README.org +++ b/README.org @@ -2514,6 +2514,10 @@ epkgs.mu4e-alert #+NAME: emacs-mu4e-config #+BEGIN_SRC nix +# Deploy the authinfo file. +home.file.".authinfo.gpg".source = ./config/authinfo.gpg; + +# Deploy the isync configuration file. home.file.".mbsyncrc" = { text = '' IMAPStore xyz-remote diff --git a/modules/emacs.nix b/modules/emacs.nix index aabbde2..dead53b 100644 --- a/modules/emacs.nix +++ b/modules/emacs.nix @@ -92,6 +92,10 @@ in { exec ./.xsession ''; }; + # Deploy the authinfo file. + home.file.".authinfo.gpg".source = ./config/authinfo.gpg; + + # Deploy the isync configuration file. home.file.".mbsyncrc" = { text = '' IMAPStore xyz-remote