mail, contacts, pass, linux and mac mbsync and vdirsyncer services, adding Passwords for these services to pass and syncthing, upping gpg agent timeout to infinity..

This commit is contained in:
2026-01-13 17:51:50 -07:00
parent bd36e83523
commit 72b6cc0d4b
5 changed files with 88 additions and 26 deletions

View File

@@ -15,11 +15,31 @@
target = ".gnupg/gpg-agent.conf";
text = ''
pinentry-program ${pkgs.pinentry_mac}/Applications/pinentry-mac.app/Contents/MacOS/pinentry-mac
default-cache-ttl 86400
max-cache-ttl 86400
default-cache-ttl 34560000
max-cache-ttl 34560000
'';
};
launchd.agents.mbsync = {
enable = true;
config = {
ProgramArguments = [ "${pkgs.isync}/bin/mbsync" "-a" ];
StartInterval = 300; # every 5 minutes
StandardOutPath = "/tmp/mbsync.log";
StandardErrorPath = "/tmp/mbsync.err";
};
};
launchd.agents.vdirsyncer = {
enable = true;
config = {
ProgramArguments = [ "${pkgs.vdirsyncer}/bin/vdirsyncer" "sync" ];
StartInterval = 900; # every 15 minutes
StandardOutPath = "/tmp/vdirsyncer.log";
StandardErrorPath = "/tmp/vdirsyncer.err";
};
};
# https://codeberg.org/adamcstephens/dotfiles/src/commit/e14f35f6e9a9cb9174016948c512c0db364e0dec/apps/fish/init.fish
programs.fish.shellInit = ''
fenv source "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh"