From 78b0883e2f6838907e51055be8cb7db49310aafb Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Wed, 22 Sep 2021 08:39:57 +0200 Subject: [PATCH] nixos/tests/prometheus-exporters: fix nogroup Add a group after the removal of the nogroup default in #133166. --- nixos/tests/prometheus-exporters.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nixos/tests/prometheus-exporters.nix b/nixos/tests/prometheus-exporters.nix index c6e8fa5a9ee1..b1a44798555d 100644 --- a/nixos/tests/prometheus-exporters.nix +++ b/nixos/tests/prometheus-exporters.nix @@ -554,7 +554,11 @@ let WorkingDirectory = "/var/spool/mail"; }; }; - users.users.mailexporter.isSystemUser = true; + users.users.mailexporter = { + isSystemUser = true; + group = "mailexporter"; + }; + users.groups.mailexporter = {}; }; exporterTest = '' wait_for_unit("postfix.service")