home

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

commit 26fed802493020356203b82ec988e5933cac82c4
parent 9221d41b100a950404281dac3e5d23dc05e158ed
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Fri, 22 Feb 2019 22:29:57 +0100

module/mails: small updates and enable hokkaido

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

Diffstat:
Mmachines/base.nix | 1-
Mmachines/hokkaido.nix | 1+
Mmodules/profiles/mails.nix | 9+++++++--
3 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/machines/base.nix b/machines/base.nix @@ -9,7 +9,6 @@ }; }; home.file.".nix-channels".source = ../assets/nix-channels; - home.file.".msmtprc".source = /etc/msmtprc; home.packages = with pkgs; [ direnv enchive diff --git a/machines/hokkaido.nix b/machines/hokkaido.nix @@ -10,5 +10,6 @@ profiles.gpg.enable = true; profiles.containers.enable = true; profiles.media.enable = true; + profiles.mails.enable = true; programs.podman.enable = true; } diff --git a/modules/profiles/mails.nix b/modules/profiles/mails.nix @@ -1,4 +1,4 @@ -{ config, lib, ... }: +{ config, lib, pkgs, ... }: with lib; let @@ -65,10 +65,15 @@ in }; }; }; - services.mbsync.enable = true; + # services.mbsync = { + # enable = true; + # preExec = "mkdir -p ~/desktop/mails/redhat ~/desktop/mails/perso"; + # postexec = "${pkgs.mu}/bin/mu index"; + # }; programs.mbsync.enable = true; programs.afew.enable = true; programs.notmuch.enable = true; programs.msmtp.enable = true; + home.packages = with pkgs; [ mu ]; }; }