You must log in or register to comment.
I like to go one further and roll a systemd service in Nix then codify it into my NixOS config, allowing me to incorporate it directly into my Xmonad, polybar, Rofi, and Dunst configs with one .nix file.
Here’s some documentation (though it could use an update):