nixos/cnping: fix setcap wrapper

This commit is contained in:
NotExactlySiev 2025-03-31 16:25:04 +03:30 committed by GitHub
parent 48c35ad5c5
commit b6bf78eb6f
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";
};