diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-11-17 02:50:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-17 02:50:02 +0100 |
commit | a0d2a3efbb4013894c771855d2cc4c28bf0fb168 (patch) | |
tree | a72e6f9d20b906e835a3656d7ebeaa34ab6c5002 | |
parent | 087657bbf0a1335627aaa56c376cd149d8e97b11 (diff) |
nixos/locate: ignore nix logs
-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 2f2986c2fec5a..5561b5e126c02 100644 --- a/nixos/modules/misc/locate.nix +++ b/nixos/modules/misc/locate.nix @@ -149,7 +149,7 @@ in { prunePaths = mkOption { type = listOf path; - default = ["/tmp" "/var/tmp" "/var/cache" "/var/lock" "/var/run" "/var/spool" "/nix/store"]; + default = [ "/tmp" "/var/tmp" "/var/cache" "/var/lock" "/var/run" "/var/spool" "/nix/store" "/nix/var/log/nix" ]; description = '' Which paths to exclude from indexing ''; |