summaryrefslogtreecommitdiffstats
path: root/makefu
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-10-03 15:43:46 +0200
committermakefu <github@syntax-fehler.de>2017-10-03 15:43:46 +0200
commitd5cd048bc3b9d541e93d7e2c4ac499b4c6fc759b (patch)
tree7486be776277bcc9ad31dab6dcc4fe078ecae873 /makefu
parent6513f6a8233e7b542015199388a149642e6a50eb (diff)
ma tools: use wireshark from options
Diffstat (limited to 'makefu')
-rw-r--r--makefu/2configs/tools/sec-gui.nix15
1 files changed, 11 insertions, 4 deletions
diff --git a/makefu/2configs/tools/sec-gui.nix b/makefu/2configs/tools/sec-gui.nix
index 2db3e4391..95f130ae8 100644
--- a/makefu/2configs/tools/sec-gui.nix
+++ b/makefu/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;
+ };
}