nixos/prometheus: allow overriding default export user
This commit is contained in:
parent
caf70ceed4
commit
508408559a
1 changed files with 1 additions and 1 deletions
|
@ -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 ]);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue