os/modules/wireshark/default.nix

18 lines
234 B
Nix

{
config,
pkgs,
lib,
flake,
...
}: let
psCfg = config.pub-solar;
in {
programs.wireshark.enable = true;
users.users."${psCfg.user.name}" = {
extraGroups = ["wireshark"];
packages = [ pkgs.wireshark ];
};
}