summary refs log tree commit diff
path: root/nixos/tests/prometheus-exporters.nix
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-09-22 18:01:01 +0000
committerGitHub <noreply@github.com>2021-09-22 18:01:01 +0000
commit09a7436fcc41b9bb83707ac8b1f02b18e317c720 (patch)
tree4ad1ba24f1a7eafd9bb58ad9ba4b125d3bd7d929 /nixos/tests/prometheus-exporters.nix
parentbb7e33ce565293e228a7d718c653c98238a2c685 (diff)
parent8ef88fb10bc4e26ea3f18c34b73edf2e96ef5d7a (diff)
downloadnixpkgs-09a7436fcc41b9bb83707ac8b1f02b18e317c720.tar
nixpkgs-09a7436fcc41b9bb83707ac8b1f02b18e317c720.tar.gz
nixpkgs-09a7436fcc41b9bb83707ac8b1f02b18e317c720.tar.bz2
nixpkgs-09a7436fcc41b9bb83707ac8b1f02b18e317c720.tar.lz
nixpkgs-09a7436fcc41b9bb83707ac8b1f02b18e317c720.tar.xz
nixpkgs-09a7436fcc41b9bb83707ac8b1f02b18e317c720.tar.zst
nixpkgs-09a7436fcc41b9bb83707ac8b1f02b18e317c720.zip
Merge master into staging-next
Diffstat (limited to 'nixos/tests/prometheus-exporters.nix')
-rw-r--r--nixos/tests/prometheus-exporters.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/nixos/tests/prometheus-exporters.nix b/nixos/tests/prometheus-exporters.nix
index 61cdbbcf455..38b93c4087c 100644
--- a/nixos/tests/prometheus-exporters.nix
+++ b/nixos/tests/prometheus-exporters.nix
@@ -555,7 +555,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")