summary refs log tree commit diff
path: root/nixos/modules/programs
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/modules/programs
parent08a8f7903da8d35dfdd71ded28bcd9032053eba2 (diff)
parentbb777015c87b51b4ce26e2fc61cb833183a56d49 (diff)
downloadnixpkgs-a9cd086d3c713da5d2f2a2fd9de9ddd2d0c49963.tar
nixpkgs-a9cd086d3c713da5d2f2a2fd9de9ddd2d0c49963.tar.gz
nixpkgs-a9cd086d3c713da5d2f2a2fd9de9ddd2d0c49963.tar.bz2
nixpkgs-a9cd086d3c713da5d2f2a2fd9de9ddd2d0c49963.tar.lz
nixpkgs-a9cd086d3c713da5d2f2a2fd9de9ddd2d0c49963.tar.xz
nixpkgs-a9cd086d3c713da5d2f2a2fd9de9ddd2d0c49963.tar.zst
nixpkgs-a9cd086d3c713da5d2f2a2fd9de9ddd2d0c49963.zip
Merge pull request #260618 from Aleksanaa/nixos/bandwhich
nixos/bandwhich: add missing capabilities
Diffstat (limited to 'nixos/modules/programs')
-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 8d1612217ad..aa6a0dfb6ff 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";
     };
   };