mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-26 08:28:31 +02:00
wayland: add swayidle inhibit
This commit is contained in:
parent
fcdc32c2f0
commit
1b76968b00
3 changed files with 22 additions and 11 deletions
|
@ -1,16 +1,14 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
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" ]; };
|
||||
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" ]; };
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue