diff options
author | Daniel Beecham <daniel@lunix.se> | 2022-05-17 16:47:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-17 16:47:33 +0200 |
commit | 75021339971840c0f34b890e368dbfca10173d83 (patch) | |
tree | 7254a3478add9648dad04d2c6050c1e9dd8beeb0 /nixos/modules/misc/locate.nix | |
parent | b02d0a98649b9fec8cb3c611d0314c0de553fbcb (diff) |
nixos/locate: clarification in warning message (#173247)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'nixos/modules/misc/locate.nix')
-rw-r--r-- | nixos/modules/misc/locate.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/misc/locate.nix b/nixos/modules/misc/locate.nix index 192c9ec413cb6..50495eebe4c29 100644 --- a/nixos/modules/misc/locate.nix +++ b/nixos/modules/misc/locate.nix @@ -250,7 +250,7 @@ in }; warnings = optional (isMorPLocate && cfg.localuser != null) - "mlocate does not support the services.locate.localuser option; updatedb will run as root. (Silence with services.locate.localuser = null.)" + "mlocate and plocate do not support the services.locate.localuser option. updatedb will run as root. Silence this warning by setting services.locate.localuser = null." ++ optional (isFindutils && cfg.pruneNames != [ ]) "findutils locate does not support pruning by directory component" ++ optional (isFindutils && cfg.pruneBindMounts) |