mirror of
https://github.com/kmein/niveum
synced 2026-03-22 04:41:07 +01:00
fix(mail): run muchsync from master, sync to wilde and manakish
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
inherit (import <niveum/lib>) email-sshKey;
|
||||
much =
|
||||
let
|
||||
nixpkgs-much = import (pkgs.fetchFromGitHub {
|
||||
@@ -17,6 +18,8 @@ let
|
||||
in {
|
||||
environment.variables.NOTMUCH_CONFIG = config.home-manager.users.me.home.sessionVariables.NOTMUCH_CONFIG;
|
||||
|
||||
users.users.me.openssh.authorizedKeys.keys = [ email-sshKey ];
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.notmuch-addrlookup
|
||||
|
||||
@@ -37,16 +40,9 @@ in {
|
||||
];
|
||||
|
||||
home-manager.users.me = {
|
||||
services.muchsync.remotes.zaatar = {
|
||||
frequency = "*:0/10";
|
||||
remote.host = "email@zaatar";
|
||||
remote.importNew = false;
|
||||
};
|
||||
|
||||
programs.notmuch = {
|
||||
enable = true;
|
||||
search.excludeTags = [ "deleted" "spam" ];
|
||||
# extraConfig.muchsync.and_tags = "inbox;unread";
|
||||
};
|
||||
|
||||
programs.msmtp.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user