Merge pull request #164091 from Pascal-Vtx/fix/graylog-module

nixos/graylog: fix group creation
This commit is contained in:
Guillaume Girol 2022-03-24 20:13:55 +00:00 committed by GitHub
commit 57b4185159
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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} - - -"