nix-files/hosts/common/programs/wireshark.nix

19 lines
405 B
Nix
Raw Normal View History

2024-01-22 13:12:10 +00:00
{ config, lib, ... }:
let
cfg = config.sane.programs.wireshark;
in
2023-05-10 04:52:12 +00:00
{
2024-01-22 13:12:10 +00:00
sane.programs.wireshark = {
sandbox.method = "landlock";
sandbox.whitelistWayland = true;
sandbox.net = "all";
sandbox.capabilities = [ "net_admin" "net_raw" ];
sandbox.extraPaths = [
2024-01-27 09:04:08 +00:00
"/proc/net" #< only needed if using landlock
];
fs.".config/wireshark".dir = {};
2024-01-22 13:12:10 +00:00
slowToBuild = true;
};
2023-05-10 04:52:12 +00:00
}