1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

nixos/prometheus: allow overriding default export user

This commit is contained in:
Martin Weinelt 2021-07-12 01:34:56 +02:00
parent caf70ceed4
commit 508408559a
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -180,7 +180,7 @@ let
serviceConfig.PrivateTmp = mkDefault true;
serviceConfig.WorkingDirectory = mkDefault /tmp;
serviceConfig.DynamicUser = mkDefault enableDynamicUser;
serviceConfig.User = conf.user;
serviceConfig.User = mkDefault conf.user;
serviceConfig.Group = conf.group;
} serviceOpts ]);
};