fix: return to a version of neomutt that starts

This commit is contained in:
Julien Malka 2024-06-25 10:07:04 +02:00
parent c4ea87531d
commit c2de65b0dc
Signed by: Luj
GPG key ID: 6FC74C847011FD83
2 changed files with 11 additions and 7 deletions

View file

@ -1,4 +1,9 @@
{ pkgs, config, lib, ... }: {
pkgs,
config,
lib,
...
}:
let let
cfg = config.luj.emails; cfg = config.luj.emails;
in in
@ -8,11 +13,11 @@ with lib;
enable = mkEnableOption "enable mail management"; enable = mkEnableOption "enable mail management";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
home.packages = [ pkgs.notmuch-addrlookup ]; home.packages = [ pkgs.notmuch-addrlookup ];
programs.mbsync.enable = true; programs.mbsync.enable = true;
programs.neomutt.enable = true; programs.neomutt.enable = true;
programs.neomutt.package = pkgs.stable.neomutt;
programs.msmtp.enable = true; programs.msmtp.enable = true;
accounts.email = { accounts.email = {
accounts.ens = { accounts.ens = {
@ -98,7 +103,6 @@ with lib;
userName = "luj@dgnum.eu"; userName = "luj@dgnum.eu";
}; };
}; };
services.mbsync = { services.mbsync = {
@ -159,8 +163,5 @@ with lib;
"notifymuch/notifymuch.cfg".source = lib.mkForce ./notifymuch; "notifymuch/notifymuch.cfg".source = lib.mkForce ./notifymuch;
}; };
}; };
} }

View file

@ -1,7 +1,10 @@
inputs: lib: inputs: lib:
let let
overlay-unstable = arch: _final: _prev: { unstable = import inputs.unstable { system = arch; }; }; overlay-unstable = arch: _final: _prev: {
stable = import inputs.nixpkgs { system = arch; };
unstable = import inputs.unstable { system = arch; };
};
in in
{ {