How to create systemd.services with PathModified

I have been creating and using systemd services in configuration.nix. I am now trying to create a systemd service to monitor a path or file as described in the FreeDesktop documentation. There appears to be no options to do this is in NixOS 23.11. Any advice on the best way to add this to configuration.nix please?

References
NixOS Documentation on systemd.services

FreeDesktop documentation on systemd.path

You’re not looking for systemd.paths?

1 Like

Yes, I think I am! Thanks. I will check it out tomorrow. :+1: