From c2de65b0dc63bc7d05e0c2f2fea1a1d77e6da824 Mon Sep 17 00:00:00 2001 From: Julien Malka Date: Tue, 25 Jun 2024 10:07:04 +0200 Subject: [PATCH] fix: return to a version of neomutt that starts --- home-manager-modules/mails/default.nix | 13 +++++++------ lib/mkmachine.nix | 5 ++++- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/home-manager-modules/mails/default.nix b/home-manager-modules/mails/default.nix index f12fba7..acd96ad 100644 --- a/home-manager-modules/mails/default.nix +++ b/home-manager-modules/mails/default.nix @@ -1,4 +1,9 @@ -{ pkgs, config, lib, ... }: +{ + pkgs, + config, + lib, + ... +}: let cfg = config.luj.emails; in @@ -8,11 +13,11 @@ with lib; enable = mkEnableOption "enable mail management"; }; - config = mkIf cfg.enable { home.packages = [ pkgs.notmuch-addrlookup ]; programs.mbsync.enable = true; programs.neomutt.enable = true; + programs.neomutt.package = pkgs.stable.neomutt; programs.msmtp.enable = true; accounts.email = { accounts.ens = { @@ -98,7 +103,6 @@ with lib; userName = "luj@dgnum.eu"; }; - }; services.mbsync = { @@ -159,8 +163,5 @@ with lib; "notifymuch/notifymuch.cfg".source = lib.mkForce ./notifymuch; }; - }; } - - diff --git a/lib/mkmachine.nix b/lib/mkmachine.nix index 69343ce..e3709ba 100644 --- a/lib/mkmachine.nix +++ b/lib/mkmachine.nix @@ -1,7 +1,10 @@ inputs: lib: 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 {