Join Nostr
2025-04-06 20:39:19 UTC

Mike :nixos: on Nostr: Maybe I'm over thinking this. In #NixOS , I want to simply have a job once a day, but ...

Maybe I'm over thinking this.

In #NixOS , I want to simply have a job once a day, but only run when a user (any user) is logged in and at the desktop (since part of this job sends a desktop notification)

I was trying to do this with a systemd timer, but that's proving to be super messy having the service wait until someone is logged in.

Is there a better way?