aubergine: wireshark: enable
authorJulien Moutinho <julm+julm-nix@sourcephile.fr>
Tue, 7 Jan 2025 22:05:01 +0000 (23:05 +0100)
committerJulien Moutinho <julm+julm-nix@sourcephile.fr>
Wed, 8 Jan 2025 03:21:22 +0000 (04:21 +0100)
hosts/aubergine.nix
hosts/aubergine/networking.nix

index c8d158e0a378dbd0c33887d3f455814bf44a2648..16370e3e1b36c0db3d73e7f969c49ecbfe41397a 100644 (file)
@@ -36,6 +36,7 @@
         "tor"
         "video"
         "wheel"
+        "wireshark"
       ];
       createHome = true;
       openssh.authorizedKeys.keys = map lib.readFile [
index db3b990cd53342335cdd19de0eed8ba1fb2a42d1..85026008738ae0daa9d45c551ba54b5093e5c125 100644 (file)
@@ -1,4 +1,4 @@
-{ lib, ... }:
+{ pkgs, lib, ... }:
 with lib;
 with (import networking/names-and-numbers.nix);
 {
@@ -68,4 +68,9 @@ with (import networking/names-and-numbers.nix);
   systemd.services.sshd.serviceConfig.LoadCredentialEncrypted = [
     "host.key:${ssh/host.key.cred}"
   ];
+
+  programs.wireshark = {
+    enable = true;
+    package = pkgs.wireshark-cli;
+  };
 }