mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 13:23:11 +01:00
17 lines
384 B
Nix
17 lines
384 B
Nix
{ pkgs, lib, ... }:
|
|
{
|
|
systemd.user = {
|
|
services.ianny = {
|
|
Unit = {
|
|
Description = "Ianny break timer";
|
|
After = [ "graphical-session-pre.target" ];
|
|
PartOf = [ "graphical-session.target" ];
|
|
};
|
|
Service = {
|
|
ExecStart = "${pkgs.ianny}/bin/ianny";
|
|
};
|
|
Install = { WantedBy = [ "graphical-session.target" ]; };
|
|
};
|
|
};
|
|
}
|