dev #19

Open
tdpeuter wants to merge 91 commits from dev into main
3 changed files with 25 additions and 0 deletions
Showing only changes of commit 23a19015af - Show all commits

View file

@ -38,6 +38,7 @@
home-manager.enable = true;
sops.enable = true;
ssh.enable = true;
wireshark.enable = true;
};
services = {

View file

@ -5,5 +5,6 @@
./sops
./spotify-adblock
./ssh
./wireshark
];
}

View file

@ -0,0 +1,23 @@
{ config, lib, pkgs, ... }:
let
cfg = config.sisyphus.programs.wireshark;
in {
options.sisyphus.programs.wireshark.enable = lib.mkEnableOption "Wireshark";
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
wireshark
];
programs.wireshark = {
enable = true;
dumpcap.enable = true;
usbmon.enable = false;
};
sisyphus.users.wantedGroups = [
"wireshark"
];
};
}