nixos/osquery: fix database_path + logger_path opts per systemd docs

nixos/osquery: Update tests with option changes
This commit is contained in:
bstanderline
2025-01-01 15:46:11 +00:00
parent c11d274cd1
commit 29b42bd731
2 changed files with 7 additions and 7 deletions

View File

@@ -63,16 +63,16 @@ in
freeformType = attrsOf str;
options = {
database_path = lib.mkOption {
default = "/var/lib/osquery/osquery.db";
default = "osquery/osquery.db";
readOnly = true;
description = "Path used for the database file.";
type = path;
description = "Path used for the database file, relative to /var/lib/.";
type = nonEmptyStr;
};
logger_path = lib.mkOption {
default = "/var/log/osquery";
default = "osquery";
readOnly = true;
description = "Base directory used for logging.";
type = path;
description = "Base directory used for logging, relative to /var/log/.";
type = nonEmptyStr;
};
pidfile = lib.mkOption {
default = "/run/osquery/osqueryd.pid";