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

17 lines
384 B
Nix
Raw Normal View History

{ pkgs, lib, ... }:
{
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" ]; };
};
};
}