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

19 lines
405 B
Nix

{ config, lib, ... }:
let
cfg = config.sane.programs.wireshark;
in
{
sane.programs.wireshark = {
sandbox.method = "landlock";
sandbox.whitelistWayland = true;
sandbox.net = "all";
sandbox.capabilities = [ "net_admin" "net_raw" ];
sandbox.extraPaths = [
"/proc/net" #< only needed if using landlock
];
fs.".config/wireshark".dir = {};
slowToBuild = true;
};
}