diff options
-rw-r--r-- | machines/profpatsch/shiki.nix | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/machines/profpatsch/shiki.nix b/machines/profpatsch/shiki.nix index 6e011c08..55ce297e 100644 --- a/machines/profpatsch/shiki.nix +++ b/machines/profpatsch/shiki.nix @@ -578,8 +578,24 @@ in { AccuracySec="15m"; }; }; - } + services.tagtime = { + description = "tagtime daemon"; + wantedBy = [ "default.target" ]; + serviceConfig = { + Restart = "on-failure"; + ExecStart = "${pkgs.tagtime}/bin/tagtimed"; + Environment = [ + "DISPLAY=:0" + '' + EDITOR=${pkgs.writers.writeDash "emacs-frame" '' + ${pkgs.emacs}/bin/emacsclient -c "$@" + ''} + '' + ]; + }; + }; + } ({ # services.pyrnotify-ssh-connection = { |