summaryrefslogtreecommitdiffstats
path: root/nixos/tests/common
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/common')
-rw-r--r--nixos/tests/common/acme/server/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/tests/common/acme/server/default.nix b/nixos/tests/common/acme/server/default.nix
index fdc053a2d828..1d6c2cc9d30a 100644
--- a/nixos/tests/common/acme/server/default.nix
+++ b/nixos/tests/common/acme/server/default.nix
@@ -126,8 +126,7 @@ in {
'';
serviceConfig = {
# Required to bind on privileged ports.
- User = "root";
- Group = "root";
+ AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" ];
};
};
};