mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixos/cnping: fix setcap wrapper
This commit is contained in:
parent
48c35ad5c5
commit
b6bf78eb6f
1 changed files with 2 additions and 0 deletions
|
|
@ -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";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue