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
+2
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";
};