Improve services.locate.period deprecation message

+3 -1
+3 -1
nixos/modules/misc/locate.nix
··· 67 67 }; 68 68 69 69 config = { 70 - 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."; 70 + warnings = 71 + let opt = options.services.locate.period; in 72 + 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."; 71 73 72 74 systemd.services.update-locatedb = 73 75 { description = "Update Locate Database";