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:
24
home-mac.nix
24
home-mac.nix
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user