From 7edaec8b603cccdcfd2c389678d3804d5abf227a Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 11 Feb 2023 09:01:31 +0800 Subject: [PATCH] profiles/dev: add Wireshark --- hosts/ni/default.nix | 3 +++ modules/nixos/profiles/dev.nix | 3 +++ 2 files changed, 6 insertions(+) diff --git a/hosts/ni/default.nix b/hosts/ni/default.nix index 3881aa7b..d35ead99 100644 --- a/hosts/ni/default.nix +++ b/hosts/ni/default.nix @@ -27,6 +27,7 @@ in "docker" "podman" "networkmanager" + "wireshark" ]; hashedPassword = "$6$.cMYto0K0CHbpIMT$dRqyKs4q1ppzmTpdzy5FWP/V832a6X..FwM8CJ30ivK0nfLjQ7DubctxOZbeOtygfjcUd1PZ0nQoQpOg/WMvg."; @@ -82,6 +83,8 @@ in "riscv64-linux" ]; + programs.wireshark.package = pkgs.wireshark; + boot.initrd.supportedFilesystems = [ "btrfs" ]; boot.supportedFilesystems = [ "btrfs" ]; diff --git a/modules/nixos/profiles/dev.nix b/modules/nixos/profiles/dev.nix index 5df79312..214102ec 100644 --- a/modules/nixos/profiles/dev.nix +++ b/modules/nixos/profiles/dev.nix @@ -61,6 +61,9 @@ in { # Instrumentate your instrument. programs.systemtap.enable = true; + # Search around sharks for wires. + programs.wireshark.enable = true; + # Profile your whole system. services.sysprof.enable = true;