June 23, 2026 ~ 1 min read

Systemd path


NixOS has the following systemd module option: systemd.path

which reads A unit configuration file whose name ends in ".path" encodes information about a path monitored by systemd, for path-based activation.

It is a great way to monitor system paths to manage other systemd units. Basically it is like a .timer systemd unit but for .paths


Sebastian BolaƱos

Hi, I'm Sebastian. I'm a software developer from Costa Rica. You can follow me on Twitter. I enjoy working on distributed systems.