wireshark: specify capabilities via sandbox.capabilities config

This commit is contained in:
2024-01-27 17:12:40 +00:00
parent a7d081bfcb
commit b29b8bdec7

View File

@@ -9,10 +9,7 @@ in
"/proc/net" #< only needed if using landlock "/proc/net" #< only needed if using landlock
]; ];
fs.".config/wireshark".dir = {}; fs.".config/wireshark".dir = {};
sandbox.extraConfig = [ sandbox.capabilities = [ "net_admin" "net_raw" ];
"--sane-sandbox-cap" "net_admin"
"--sane-sandbox-cap" "net_raw"
];
slowToBuild = true; slowToBuild = true;
}; };
} }