diff --git a/modules/dev/default.nix b/modules/dev/default.nix index ea0e342..ee3faa5 100644 --- a/modules/dev/default.nix +++ b/modules/dev/default.nix @@ -1,17 +1,24 @@ { lib, minimal, + pkgs, ... }: lib.optionalAttrs (!minimal) { imports = [ ./docs.nix ]; - environment.enableDebugInfo = true; + programs.wireshark = { + enable = true; + package = pkgs.wireshark; + }; services.nixseparatedebuginfod.enable = true; - environment.shellInit = '' - gpg-connect-agent /bye - export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) - umask 077 - ''; + environment = { + enableDebugInfo = true; + shellInit = '' + gpg-connect-agent /bye + export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) + umask 077 + ''; + }; } diff --git a/users/patrick/default.nix b/users/patrick/default.nix index 7ba8e73..7df6a0c 100644 --- a/users/patrick/default.nix +++ b/users/patrick/default.nix @@ -23,6 +23,7 @@ lib.optionalAttrs (!minimal) { "input" # TPM settings "tss" + "wireshark" ]; group = "patrick"; hashedPassword = config.secrets.secrets.global.users.patrick.passwordHash;