home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 076d571b3d787eebcae36a9552480dc1c2d423ec
parent 26fed802493020356203b82ec988e5933cac82c4
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Sat, 23 Feb 2019 10:32:58 +0100

mails: fix path (use `pkgs.` 👼) in mails module

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mmachines/wakasu.nix | 1+
Mmodules/profiles/mails.nix | 17++++++++++-------
2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/machines/wakasu.nix b/machines/wakasu.nix @@ -22,6 +22,7 @@ openshift = { enable = true; minishift.enable = true; }; }; profiles.media.enable = true; + profiles.mails.enable = true; programs = { google-chrome.enable = true; podman.enable = true; diff --git a/modules/profiles/mails.nix b/modules/profiles/mails.nix @@ -22,7 +22,7 @@ in address = "vdemeest@redhat.com"; userName = "vdemeest@redhat.com"; realName = "Vincent Demeester"; - passwordCommand = "gpg -q --for-your-eyes-only --no-tty --exit-on-status-write-error --batch --passphrase-file ~/sync/rh.pass -d ~/desktop/documents/rh.pass.gpg"; + passwordCommand = "${pkgs.gnupg}/bin/gpg -q --for-your-eyes-only --no-tty --exit-on-status-write-error --batch --passphrase-file ~/sync/rh.pass -d ~/desktop/documents/rh.pass.gpg"; imap.host = "imap.gmail.com"; smtp.host = "smtp.gmail.com"; mbsync = { @@ -45,7 +45,7 @@ in address = "vinc.demeester@gmail.com"; userName = "vinc.demeester@gmail.com"; realName = "Vincent Demeester"; - passwordCommand = "gpg -q --for-your-eyes-only --no-tty --exit-on-status-write-error --batch --passphrase-file ~/sync/perso.pass -d ~/desktop/documents/perso.pass.gpg"; + passwordCommand = "${pkgs.gnupg}/bin/gpg -q --for-your-eyes-only --no-tty --exit-on-status-write-error --batch --passphrase-file ~/sync/perso.pass -d ~/desktop/documents/perso.pass.gpg"; imap.host = "imap.gmail.com"; smtp.host = "smtp.gmail.com"; mbsync = { @@ -65,11 +65,14 @@ in }; }; }; - # services.mbsync = { - # enable = true; - # preExec = "mkdir -p ~/desktop/mails/redhat ~/desktop/mails/perso"; - # postexec = "${pkgs.mu}/bin/mu index"; - # }; + services.mbsync = { + enable = true; + preExec = "${pkgs.coreutils}/bin/mkdir -p ~/desktop/mails/redhat ~/desktop/mails/perso"; + #postExec = "${pkgs.mu}/bin/mu index"; + }; + programs.astroid = { + enable = true; + }; programs.mbsync.enable = true; programs.afew.enable = true; programs.notmuch.enable = true;