diff --git a/SwarselSystems.org b/SwarselSystems.org index cda52c9..a965aca 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -19054,6 +19054,10 @@ Used here: [[#h:b92a18cf-eec3-4605-a8c2-37133ade3574][mu4e]] (when-let ((dest (swarsel/mu4e-rfs--matching-address))) (cl-destructuring-bind (from-user from-addr) dest (setq user-mail-address from-addr) + (when (and (boundp 'user-mail-address) + (stringp user-mail-address) + (string-equal user-mail-address (getenv "SWARSEL_MAIL_WORK"))) + (mml-secure-message-sign-smime)) (message-position-on-field "From") (message-beginning-of-line) (delete-region (point) (line-end-position)) @@ -21832,7 +21836,7 @@ The hook functions are defined here: [[#h:34506761-06b9-43b5-a818-506d9b3faf28][ (setq mu4e-mu-binary (executable-find "mu")) (setq mu4e-hide-index-messages t) - (setq mu4e-update-interval 180) + (setq mu4e-update-interval 60) (setq mu4e-get-mail-command "mbsync -a") (setq mu4e-maildir "~/Mail") diff --git a/files/emacs/init.el b/files/emacs/init.el index e8d147e..ef36c52 100644 --- a/files/emacs/init.el +++ b/files/emacs/init.el @@ -30,6 +30,10 @@ (when-let ((dest (swarsel/mu4e-rfs--matching-address))) (cl-destructuring-bind (from-user from-addr) dest (setq user-mail-address from-addr) + (when (and (boundp 'user-mail-address) + (stringp user-mail-address) + (string-equal user-mail-address (getenv "SWARSEL_MAIL_WORK"))) + (mml-secure-message-sign-smime)) (message-position-on-field "From") (message-beginning-of-line) (delete-region (point) (line-end-position)) @@ -1560,7 +1564,7 @@ create a new one." (setq mu4e-mu-binary (executable-find "mu")) (setq mu4e-hide-index-messages t) - (setq mu4e-update-interval 180) + (setq mu4e-update-interval 60) (setq mu4e-get-mail-command "mbsync -a") (setq mu4e-maildir "~/Mail") diff --git a/index.html b/index.html index 07f172c..b6bd78d 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- +-This file has 96609 words spanning 24942 lines and was last revised on 2025-10-21 21:36:59 +0200. +This file has 96633 words spanning 24946 lines and was last revised on 2025-10-21 21:55:49 +0200.
@@ -912,7 +912,7 @@ This section defines my Emacs configuration. For a while, I considered to use ry
-My emacs is built using the emacs-overlay nix flake, which builds a bleeding edge emacs on wayland (pgtk) with utilities like treesitter support. By executing the below source block, the current build setting can be updated at any time, and you can see my most up-to-date build options (last updated: 2025-10-21 21:36:59 +0200) +My emacs is built using the emacs-overlay nix flake, which builds a bleeding edge emacs on wayland (pgtk) with utilities like treesitter support. By executing the below source block, the current build setting can be updated at any time, and you can see my most up-to-date build options (last updated: 2025-10-21 21:55:49 +0200)
@@ -12178,8 +12178,8 @@ in
Some standard options that should be set for every microvm host. @@ -12205,8 +12205,8 @@ Some standard options that should be set for every microvm host.
Some standard options that should be set vor every microvm guest. We set the default @@ -13276,8 +13276,8 @@ nix-index provides a way to find out which packages are provided by which deriva
{ lib, config, ... }:
@@ -14990,8 +14990,8 @@ The `extraConfig` section here CANNOT be reindented. This has something to do wi
{ lib, config, ... }:
@@ -15005,8 +15005,8 @@ The `extraConfig` section here CANNOT be reindented. This has something to do wi
{ lib, config, ... }:
@@ -15021,8 +15021,8 @@ The `extraConfig` section here CANNOT be reindented. This has something to do wi
{ lib, config, ... }:
@@ -15056,8 +15056,8 @@ The `extraConfig` section here CANNOT be reindented. This has something to do wi
Sets up a systemd user service for anki that does not stall the shutdown process. Note that the outcommented ExecStart does not work because the home-manager anki package builds a separate anki package that - I think - cannot be referenced as no such expression exists in the module.
@@ -15104,8 +15104,8 @@ Sets up a systemd user service for anki that does not stall the shutdown process
{ lib, config, pkgs, ... }:
@@ -15139,8 +15139,8 @@ Sets up a systemd user service for anki that does not stall the shutdown process
{ lib, config, pkgs, ... }:
@@ -16068,8 +16068,8 @@ in
{ lib, config, pkgs, nixosConfig ? config, ... }:
@@ -16226,8 +16226,8 @@ in
{ lib, config, pkgs, globals, nixosConfig ? config, ... }:
@@ -16299,8 +16299,8 @@ in
{ lib, config, ... }:
@@ -16336,8 +16336,8 @@ in
{ lib, config, nixosConfig ? config, ... }:
@@ -16361,8 +16361,8 @@ in
{ lib, config, ... }:
@@ -16382,8 +16382,8 @@ in
{ lib, config, ... }:
@@ -16403,8 +16403,8 @@ in
{ lib, config, ... }:
@@ -16490,8 +16490,8 @@ in
{ lib, config, ... }:
@@ -16523,8 +16523,8 @@ in
{ lib, config, ... }:
@@ -16545,8 +16545,8 @@ in
{ lib, config, pkgs, ... }:
@@ -16587,8 +16587,8 @@ in
{ lib, config, pkgs, ... }:
@@ -19808,8 +19808,8 @@ writeShellApplication {
Sometimes my DE crashes after putting it to suspend - to be precise, it happens when I put it into suspend when I have multiple screens plugged in. I have never taken the time to debug the issue, but instead just switch to a different TTY and then use this script to kill the hanging session. @@ -19830,8 +19830,8 @@ writeShellApplication {
This script allows for quick git replace of a string. @@ -19993,8 +19993,8 @@ in
{ lib, config, ... }:
@@ -20737,6 +20737,10 @@ Used here: mu4e
(when-let ((dest (swarsel/mu4e-rfs--matching-address)))
(cl-destructuring-bind (from-user from-addr) dest
(setq user-mail-address from-addr)
+ (when (and (boundp 'user-mail-address)
+ (stringp user-mail-address)
+ (string-equal user-mail-address (getenv "SWARSEL_MAIL_WORK")))
+ (mml-secure-message-sign-smime))
(message-position-on-field "From")
(message-beginning-of-line)
(delete-region (point) (line-end-position))
@@ -23846,7 +23850,7 @@ The hook functions are defined here:
Used to automatically sign messages sent from my work email address using S/MIME certificate. @@ -24191,8 +24195,8 @@ Also see `prot-window-delete-popup-frame'." command) This sections is no longer used really. An introduction can be found in Structure of this file under the historical note. The little noweb-ref blocks that I still use are found in Hosts and Services.
These general steps are needed when setting up a new machine and do not fit into another block well: @@ -27136,7 +27140,7 @@ similarly, there exists an version that starts from the right.