Commit 5b9259e6f021
Changed files (1)
home
common
services
home/common/services/imapfilter.nix
@@ -14,6 +14,10 @@
Service = {
Type = "oneshot";
# Update rules from private repository before filtering
+ # Configure git to use SSH without agent (direct key access)
+ Environment = [
+ "GIT_SSH_COMMAND=${pkgs.openssh}/bin/ssh -F %h/.ssh/config"
+ ];
ExecStartPre = "${pkgs.git}/bin/git -C %h/.local/share/imapfilter-rules pull --quiet";
# Password is read from agenix secret file in Lua config
# Verbose mode enabled for testing new filters