diff --git a/home/home.nix b/home/home.nix index 9bd4e5f..6bee0d0 100644 --- a/home/home.nix +++ b/home/home.nix @@ -315,19 +315,17 @@ in systemd.user = { services = { - /* - himalaya = { - Unit.Description = "Himalaya new messages notifier"; + wayland-pipewire-idle-inhibit = { + Unit.Description = "inhibit sleep while audio output is active"; Service = { - ExecStart = "himalaya notify"; - Restart = "always"; - RestartSec = 10; + ExecStart = "${lib.getExe pkgs.wayland-pipewire-idle-inhibit}"; + Restart = "always"; + RestartSec = 10; }; Install = { - WantedBy = [ "multi-user.target" ]; + WantedBy = [ "graphical-session.target" ]; }; - }; - */ + }; }; }; }