nixos-config/users/rouven/modules/wayland/breaktimer.nix

17 lines
379 B
Nix
Raw Normal View History

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