Fix mu4e installation so I can go back to using mu

This commit is contained in:
Evie Litherland-Smith 2023-09-14 17:09:21 +01:00
parent 0b18a7860b
commit da9080b423
5 changed files with 14 additions and 30 deletions

View file

@ -75,7 +75,7 @@
serviceModules =
[ ./services/sshd/default.nix ./services/syncthing/default.nix ];
homeModules = [
./home/accounts/service.nix
./home/accounts/default.nix
./home/alacritty/default.nix
./home/emacs/default.nix
./home/firefox/default.nix

View file

@ -36,8 +36,7 @@
auth = "login";
};
};
notmuch.enable = true;
astroid.enable = true;
mu.enable = true;
};
icloud = rec {
inherit realName;
@ -54,8 +53,7 @@
subFolders = "Verbatim";
};
msmtp.enable = true;
notmuch.enable = true;
astroid.enable = true;
mu.enable = true;
};
ukaea = let
host = "127.0.0.1";
@ -88,8 +86,7 @@
auth = "login";
};
};
notmuch.enable = true;
astroid.enable = true;
mu.enable = true;
};
};
home.packages = with pkgs; [ protonmail-bridge davmail vdirsyncer ];
@ -97,17 +94,11 @@
mbsync.enable = true;
msmtp.enable = true;
# vdirsyncer = { enable = true; };
notmuch = {
enable = true;
maildir.synchronizeFlags = true;
new.ignore = [ ".nnmaildir" ];
};
afew.enable = true;
astroid = {
enable = true;
pollScript = "mbsync -a";
externalEditor = "emacsclient -q -a 'emacs' -c %1";
};
mu.enable = true;
};
services.mbsync = {
enable = true;
frequency = "*-*-* *:0/15:00";
};
xdg.configFile."vdirsyncer/config".text =
import ./config/vdirsyncer.nix { inherit pkgs; };

View file

@ -1,9 +0,0 @@
{ ... }:
{
imports = [ ./default.nix ];
# services.mbsync = {
# enable = true;
# frequency = "*-*-* *:0/15:00";
# };
}

View file

@ -7,7 +7,10 @@ let
in {
xdg.configFile.emacs.source = doom-emacs;
systemd.user = { inherit sessionVariables; };
programs.emacs.enable = true;
programs.emacs = {
enable = true;
package = pkgs.emacs29-pgtk;
};
services.emacs = {
enable = true;
package = config.programs.emacs.package;
@ -20,9 +23,9 @@ in {
sessionPath = [ "$HOME/.config/emacs/bin" "$HOME/.emacs.d/bin" ];
packages = with pkgs; [
# Emacs dependencies
emacsPackages.mu4e
coreutils
gnutls
# git-with-svn
ripgrep
cmake
fd

View file

@ -18,7 +18,6 @@
zotero
];
programs = {
emacs.package = pkgs.emacs29-pgtk;
firefox.package = pkgs.firefox-wayland;
rofi = {
package = pkgs.rofi-wayland;