summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/security/setcap-wrappers.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/nixos/modules/security/setcap-wrappers.nix b/nixos/modules/security/setcap-wrappers.nix
index faebc6f7e0df..b8383d813585 100644
--- a/nixos/modules/security/setcap-wrappers.nix
+++ b/nixos/modules/security/setcap-wrappers.nix
@@ -48,10 +48,9 @@ in
       type    = types.listOf types.attrs;
       default = [];
       example =
-        [ { program = "sendmail";
-            source  = "${pkgs.sendmail.bin}/bin/sendmail";
+        [ { program = "ping";
             owner   = "nobody";
-            group   = "postdrop";
+            group   = "nogroup";
             setcap  = true;
             capabilities = "cap_net_raw+ep";
           }