diff --git a/home/packages.nix b/home/packages.nix index 704559c..90c7510 100644 --- a/home/packages.nix +++ b/home/packages.nix @@ -120,7 +120,6 @@ tenacity # transcribe - wireshark xcalib xclip xdotool diff --git a/hosts/common/default.nix b/hosts/common/default.nix index 3135535..a3e4515 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -11,6 +11,7 @@ in { ./programs/nix-ld.nix ./programs/ssh.nix ./programs/usbtop.nix + ./programs/wireshark.nix ./services/dbus.nix ./services/journald.nix diff --git a/hosts/common/programs/wireshark.nix b/hosts/common/programs/wireshark.nix new file mode 100644 index 0000000..d5ced45 --- /dev/null +++ b/hosts/common/programs/wireshark.nix @@ -0,0 +1,10 @@ +{ config, pkgs, ... }: +let + inherit (config) machineVars; +in +{ + programs.wireshark = { + enable = !config.machineVars.headless; + package = pkgs.wireshark; + }; +}