diff --git a/nixos/modules/security/permissions-wrappers/default.nix b/nixos/modules/security/permissions-wrappers/default.nix index af8158aab920..14f9dadcb246 100644 --- a/nixos/modules/security/permissions-wrappers/default.nix +++ b/nixos/modules/security/permissions-wrappers/default.nix @@ -106,7 +106,6 @@ in source = "${pkgs.iputils.out}/bin/ping"; owner = "nobody"; group = "nogroup"; - setcap = true; capabilities = "cap_net_raw+ep"; } ]; diff --git a/nixos/modules/tasks/network-interfaces.nix b/nixos/modules/tasks/network-interfaces.nix index a69435ff5937..61519c6a3ce8 100644 --- a/nixos/modules/tasks/network-interfaces.nix +++ b/nixos/modules/tasks/network-interfaces.nix @@ -902,13 +902,11 @@ in [ { program = "ping"; source = "${pkgs.iputils.out}/bin/ping"; - setcap = true; capabilities = "cap_net_raw+p"; } { program = "ping6"; source = "${pkgs.iputils.out}/bin/ping6"; - setcap = true; capabilities = "cap_net_raw+p"; } ]