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

@@ -81,6 +81,10 @@ in
path = "~/Sync";
devices = [ "Laptop" "Phone" ];
};
"Passwords" = {
path = "~/.password-store";
devices = [ "Laptop" ]; # just Mac, not phone
};
};
};
};
@@ -88,13 +92,23 @@ in
services.gpg-agent = {
enable = true;
enableSshSupport = true;
defaultCacheTtl = 86400;
maxCacheTtl = 86400;
defaultCacheTtlSsh = 86400;
maxCacheTtlSsh = 86400;
defaultCacheTtl = 34560000;
maxCacheTtl = 34560000;
defaultCacheTtlSsh = 34560000;
maxCacheTtlSsh = 34560000;
pinentry.package = pkgs.pinentry-all;
};
services.mbsync = {
enable = true;
frequency = "*:0/5"; # every 5 minutes
};
services.vdirsyncer = {
enable = true;
frequency = "*:0/15"; # every 15 minutes
};
# Niri config - imported from separate file
# xdg.configFile."niri/config.kdl".source = ./niri-config.kdl;