This allows the tomat service to properly execute hooks, which is a feature that requires a modifying the PATH and ensuring that the service is started after the graphical session.
13 lines
275 B
Desktop File
13 lines
275 B
Desktop File
[Install]
|
|
WantedBy=graphical-session.target
|
|
|
|
[Service]
|
|
Environment=PATH=/home/hm-user/.nix-profile/bin
|
|
ExecStart=@tomat@/bin/tomat daemon run
|
|
Restart=always
|
|
RestartSec=5
|
|
|
|
[Unit]
|
|
After=graphical-session.target
|
|
Description=Tomat Pomodoro server
|
|
PartOf=graphical-session.target
|