about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-10-12 10:18:46 -0400
committerGitHub <noreply@github.com>2023-10-12 10:18:46 -0400
commita9cd086d3c713da5d2f2a2fd9de9ddd2d0c49963 (patch)
treeb44742f9d7bc7f15fd762ea670a91c9bc422d8fb /nixos
parent08a8f7903da8d35dfdd71ded28bcd9032053eba2 (diff)
parentbb777015c87b51b4ce26e2fc61cb833183a56d49 (diff)
downloadnixlib-a9cd086d3c713da5d2f2a2fd9de9ddd2d0c49963.tar
nixlib-a9cd086d3c713da5d2f2a2fd9de9ddd2d0c49963.tar.gz
nixlib-a9cd086d3c713da5d2f2a2fd9de9ddd2d0c49963.tar.bz2
nixlib-a9cd086d3c713da5d2f2a2fd9de9ddd2d0c49963.tar.lz
nixlib-a9cd086d3c713da5d2f2a2fd9de9ddd2d0c49963.tar.xz
nixlib-a9cd086d3c713da5d2f2a2fd9de9ddd2d0c49963.tar.zst
nixlib-a9cd086d3c713da5d2f2a2fd9de9ddd2d0c49963.zip
Merge pull request #260618 from Aleksanaa/nixos/bandwhich
nixos/bandwhich: add missing capabilities
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/programs/bandwhich.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/bandwhich.nix b/nixos/modules/programs/bandwhich.nix
index 8d1612217ad8..aa6a0dfb6ffd 100644
--- a/nixos/modules/programs/bandwhich.nix
+++ b/nixos/modules/programs/bandwhich.nix
@@ -24,7 +24,7 @@ in {
     security.wrappers.bandwhich = {
       owner = "root";
       group = "root";
-      capabilities = "cap_net_raw,cap_net_admin+ep";
+      capabilities = "cap_sys_ptrace,cap_dac_read_search,cap_net_raw,cap_net_admin+ep";
       source = "${pkgs.bandwhich}/bin/bandwhich";
     };
   };