From 045b819959208f55e85a5f58b2dd082eff4cfbfa Mon Sep 17 00:00:00 2001 From: Pascal VITOUX Date: Mon, 14 Mar 2022 10:13:15 +0100 Subject: [PATCH] nixos/graylog: fix group creation As described in #163571, the graylog group was not created by the module. --- nixos/modules/services/logging/graylog.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/logging/graylog.nix b/nixos/modules/services/logging/graylog.nix index e6a23233ba2..28e2d18bf03 100644 --- a/nixos/modules/services/logging/graylog.nix +++ b/nixos/modules/services/logging/graylog.nix @@ -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} - - -"