From bc8ab5ca567c7e41b165a836bc3cbdd9c50b6a64 Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 3 Oct 2017 15:43:46 +0200 Subject: [PATCH] ma tools: use wireshark from options --- 2configs/tools/sec-gui.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/2configs/tools/sec-gui.nix b/2configs/tools/sec-gui.nix index 2db3e43..95f130a 100644 --- a/2configs/tools/sec-gui.nix +++ b/2configs/tools/sec-gui.nix @@ -1,8 +1,15 @@ { pkgs, ... }: { - krebs.per-user.makefu.packages = with pkgs; [ - tpmmanager - wireshark - ]; + users.users.makefu = { + extraGroups = [ "wireshark" ]; + packages = with pkgs; [ + tpmmanager + ]; + }; + + programs.wireshark = { + enable = true; + package = pkgs.wireshark; + }; }