summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/logging/graylog.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/logging/graylog.nix')
-rw-r--r--nixos/modules/services/logging/graylog.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/logging/graylog.nix b/nixos/modules/services/logging/graylog.nix
index af70d27fcf99..5e20a10f2490 100644
--- a/nixos/modules/services/logging/graylog.nix
+++ b/nixos/modules/services/logging/graylog.nix
@@ -128,10 +128,12 @@ in
users.users = mkIf (cfg.user == "graylog") {
graylog = {
- uid = config.ids.uids.graylog;
+ isSystemUser = true;
+ group = "graylog";
description = "Graylog server daemon user";
};
};
+ users.groups = mkIf (cfg.user == "graylog") {};
systemd.tmpfiles.rules = [
"d '${cfg.messageJournalDir}' - ${cfg.user} - - -"