2023-12-29 19:47:57 +01:00
|
|
|
{ pkgs, ... }:
|
2023-08-19 14:12:51 +02:00
|
|
|
{
|
|
|
|
systemd.user = {
|
2023-12-19 22:42:38 +01:00
|
|
|
services.ianny = {
|
2023-08-19 14:12:51 +02:00
|
|
|
Unit = {
|
2023-12-19 22:42:38 +01:00
|
|
|
Description = "Ianny break timer";
|
|
|
|
After = [ "graphical-session-pre.target" ];
|
|
|
|
PartOf = [ "graphical-session.target" ];
|
2023-08-19 14:12:51 +02:00
|
|
|
};
|
|
|
|
Service = {
|
2023-12-19 22:42:38 +01:00
|
|
|
ExecStart = "${pkgs.ianny}/bin/ianny";
|
2023-08-19 14:12:51 +02:00
|
|
|
};
|
2023-12-19 22:42:38 +01:00
|
|
|
Install = { WantedBy = [ "graphical-session.target" ]; };
|
2023-08-19 14:12:51 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|