mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
nixos/tests/prometheus-exporters: fix nogroup
Add a group after the removal of the nogroup default in #133166.
This commit is contained in:
parent
5b4f8afae4
commit
78b0883e2f
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue