WIP Fix activitywatch awatcher fails

This commit is contained in:
Tristan D. 2024-07-04 10:14:21 +02:00
parent ec23782180
commit 8df69a6add
Signed by: tristan
SSH key fingerprint: SHA256:9oFM1J63hYWJjCnLG6C0fxBS15rwNcWwdQNMOHYKJ/4
2 changed files with 6 additions and 1 deletions

View file

@ -138,7 +138,6 @@
(setq! lsp-rust-analyzer-server-display-inlay-hints t)
(setq! lsp-rust-analyzer-completion-auto-import-enable t)
;; Nix
(use-package! nixpkgs-fmt

View file

@ -23,6 +23,12 @@
awatcher.package = pkgs.my.awatcher;
};
};
systemd.user.services.activitywatch-watcher-awatcher.Service= {
Restart = "always";
RestartSec= "5";
};
# TODO Add timer for `aw-sync --sync-dir=$HOME/Nextcloud/ActivityWatch/ sync --mode both`
# (aw-sync binary is part of aw-server-rust)
}