this repo has no description
at master 469 B view raw
1{pkgs, ...}: { 2 launchd.agents.plan-sync = { 3 enable = pkgs.stdenv.isDarwin; 4 config = { 5 Label = "plan-sync"; 6 7 ProgramArguments = [ 8 "${pkgs.curl}/bin/curl" 9 "--netrc-optional" 10 "-F" 11 "plan=</Users/hauleth/.plan" 12 "https://plan.cat/stdin" 13 ]; 14 15 WatchPaths = [ 16 "/Users/hauleth/.plan" 17 ]; 18 19 StandardErrorPath = "/Users/hauleth/.local/state/launchd/logs/plan-sync.stderr"; 20 }; 21 }; 22}