diff options
| author | Joe Mou <dev@mou.fo> | 2026-04-15 13:27:50 -0400 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2026-04-20 20:18:57 -0400 |
| commit | 546dbcd2a990e45ff38a3031193d519572cc3aef (patch) | |
| tree | 1140e82b13e24d44a27ab9dcf7255250cb7c0f82 /hostnix/mojo/modules | |
| parent | 5f308a6b1421c1ef9aab9ef88133be611e8b91e8 (diff) | |
mojo: Obsidian w/ auto-sync
Diffstat (limited to 'hostnix/mojo/modules')
| -rw-r--r-- | hostnix/mojo/modules/obsidian.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/hostnix/mojo/modules/obsidian.nix b/hostnix/mojo/modules/obsidian.nix new file mode 100644 index 0000000..0357b0f --- /dev/null +++ b/hostnix/mojo/modules/obsidian.nix @@ -0,0 +1,17 @@ +{ ... }: +{ + homebrew.casks = [ "obsidian" ]; + + launchd.user.agents.obsidian-auto-sync = { + script = '' + cd /Users/joe/src/Obsidian + ./.obsidian/auto-sync + ''; + serviceConfig = { + StartInterval = 300; + StandardOutPath = "/Users/joe/Library/Logs/obsidian-auto-sync.log"; + StandardErrorPath = "/Users/joe/Library/Logs/obsidian-auto-sync.log"; + RunAtLoad = false; + }; + }; +} |
