nixos/cnping: fix setcap wrapper (#394915)

This commit is contained in:
Sandro 2025-07-04 20:07:14 +02:00 committed by GitHub
commit 9cd5c938a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,6 +17,8 @@ in
config = lib.mkIf cfg.enable {
security.wrappers.cnping = {
owner = "root";
group = "root";
source = "${pkgs.cnping}/bin/cnping";
capabilities = "cap_net_raw+ep";
};