From 6b694fd58a4fd5fe7797c60529800e4345dcda65 Mon Sep 17 00:00:00 2001 From: derped Date: Sat, 16 Nov 2024 11:02:33 +0100 Subject: [PATCH] Add current state of emacs folder. --- pkgsets/emacs/elfeed.nix | 2 +- pkgsets/emacs/mu4e.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgsets/emacs/elfeed.nix b/pkgsets/emacs/elfeed.nix index 4f23497..20f3b2f 100644 --- a/pkgsets/emacs/elfeed.nix +++ b/pkgsets/emacs/elfeed.nix @@ -46,7 +46,7 @@ with lib; (define-key elfeed-search-mode-map [remap elfeed-search-show-entry] 'elfeed-search-show-entry-custom) (defun elfeed-get-yt-description (url) - (shell-command-to-string (format "${pkgs.youtube-dl}/bin/youtube-dl --get-description \"%s\" 2> /dev/null" url))) + (shell-command-to-string (format "${pkgs.yt-dlp}/bin/yt-dlp --get-description \"%s\" 2> /dev/null" url))) (defun elfeed-get-sd-article (url) (eval-string (shell-command-to-string (format "${pyEnv}/bin/python3 ${pyScript} \"%s\" 2> /dev/null" url)))) diff --git a/pkgsets/emacs/mu4e.nix b/pkgsets/emacs/mu4e.nix index b93869c..9810625 100644 --- a/pkgsets/emacs/mu4e.nix +++ b/pkgsets/emacs/mu4e.nix @@ -52,7 +52,7 @@ in (setq mail-user-agent 'mu4e-user-agent) (setq org-mu4e-link-query-in-headers-mode t) (setq mu4e-maildir "~/.mail/Mail") - (setq mu4e-get-mail-command "${pkgs.isync}/bin/mbsync -a") + (setq mu4e-get-mail-command "${pkgs.isync.override { withCyrusSaslXoauth2 = true; }}/bin/mbsync -a") (setq mu4e-context-policy 'pick-first) (setq mu4e-change-filenames-when-moving t) (setq starttls-use-gnutls t) @@ -117,6 +117,6 @@ in environment.systemPackages = with pkgs; [ mu - isync + (isync.override { withCyrusSaslXoauth2 = true; }) ]; }