diff --git a/nixos/modules/misc/locate.nix b/nixos/modules/misc/locate.nix index 318b81ca07c..5b560cedc62 100644 --- a/nixos/modules/misc/locate.nix +++ b/nixos/modules/misc/locate.nix @@ -67,7 +67,9 @@ in { }; config = { - warnings = let opt = options.services.locate.period; in optional opt.isDefined "The `period` definition in ${showFiles opt.files} has been removed; please replace it with `interval`, using the new systemd.time interval specifier."; + warnings = + let opt = options.services.locate.period; in + optional opt.isDefined "The ‘services.locate.period’ option in ${showFiles opt.files} has been removed; please replace it with ‘services.locate.interval’, using the systemd.time(7) calendar event format."; systemd.services.update-locatedb = { description = "Update Locate Database";