nixos/graylog: fix group creation

As described in #163571, the graylog group was not created by the
module.
This commit is contained in:
Pascal VITOUX 2022-03-14 10:13:15 +01:00
parent 31961f6415
commit 045b819959

View File

@ -132,7 +132,7 @@ in
description = "Graylog server daemon user";
};
};
users.groups = mkIf (cfg.user == "graylog") {};
users.groups = mkIf (cfg.user == "graylog") { graylog = {}; };
systemd.tmpfiles.rules = [
"d '${cfg.messageJournalDir}' - ${cfg.user} - - -"