From 4b554adfb7202a54b057d8ebf32a7443aa443c57 Mon Sep 17 00:00:00 2001 From: Emmet Date: Mon, 11 Dec 2023 18:07:14 -0600 Subject: [PATCH 1/2] Improved btrfs mount options --- system/hardware-configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/hardware-configuration.nix b/system/hardware-configuration.nix index 96c441b..26e4b11 100644 --- a/system/hardware-configuration.nix +++ b/system/hardware-configuration.nix @@ -16,7 +16,7 @@ fileSystems."/" = { device = "/dev/disk/by-uuid/637d8261-0650-4ece-a35b-59d97baf64a7"; fsType = "btrfs"; - options = [ "subvol=@" ]; + options = [ "defaults,noatime,compress=zstd,subvol=@" ]; }; boot.initrd.luks.devices."luks-385106b5-71f7-460e-9a2b-2416f3b54cb6".device = "/dev/disk/by-uuid/385106b5-71f7-460e-9a2b-2416f3b54cb6"; From 67f465eaf7f91e867eca460fbd578be398a707f5 Mon Sep 17 00:00:00 2001 From: Emmet Date: Mon, 11 Dec 2023 18:14:24 -0600 Subject: [PATCH 2/2] Some mu4e compose tweaks --- user/app/doom-emacs/config.el | 9 +++++++++ user/app/doom-emacs/doom.org | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/user/app/doom-emacs/config.el b/user/app/doom-emacs/config.el index 9c6dccb..682a42e 100644 --- a/user/app/doom-emacs/config.el +++ b/user/app/doom-emacs/config.el @@ -1332,6 +1332,15 @@ https://github.com/magit/magit/issues/460 (@cpitclaudel)." ;; ,(my-make-mu4e-context "example2" "user@example1.com" "user@example2.com" "Johnny" "Example Organization" "John Doe\nThis is my other signature" "Personal.p") ;; )) ;;(mu4e-context-switch t "example1") + + (org-msg-mode 0) + + ;; https://emacs.stackexchange.com/questions/3061/how-to-stop-mu4e-from-inserting-line-breaks + (defun no-auto-fill () + "Turn off auto-fill-mode." + (auto-fill-mode -1)) + (add-hook 'mu4e-compose-mode-hook #'no-auto-fill) + ) ;; TODO fix my make-mu4e-context wrapper diff --git a/user/app/doom-emacs/doom.org b/user/app/doom-emacs/doom.org index 5403d51..1259ae5 100644 --- a/user/app/doom-emacs/doom.org +++ b/user/app/doom-emacs/doom.org @@ -1556,6 +1556,15 @@ I don't have this active right now since it's kinda weird with pgtk... ;; ,(my-make-mu4e-context "example2" "user@example1.com" "user@example2.com" "Johnny" "Example Organization" "John Doe\nThis is my other signature" "Personal.p") ;; )) ;;(mu4e-context-switch t "example1") + + (org-msg-mode 0) + + ;; https://emacs.stackexchange.com/questions/3061/how-to-stop-mu4e-from-inserting-line-breaks + (defun no-auto-fill () + "Turn off auto-fill-mode." + (auto-fill-mode -1)) + (add-hook 'mu4e-compose-mode-hook #'no-auto-fill) + ) ;; TODO fix my make-mu4e-context wrapper