feat: added wireshark

This commit is contained in:
Patrick Großmann 2023-10-03 15:54:55 +02:00
parent 0520760c7e
commit ce2e1cdd93
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
2 changed files with 14 additions and 6 deletions

View file

@ -1,17 +1,24 @@
{ {
lib, lib,
minimal, minimal,
pkgs,
... ...
}: }:
lib.optionalAttrs (!minimal) { lib.optionalAttrs (!minimal) {
imports = [ imports = [
./docs.nix ./docs.nix
]; ];
environment.enableDebugInfo = true; programs.wireshark = {
enable = true;
package = pkgs.wireshark;
};
services.nixseparatedebuginfod.enable = true; services.nixseparatedebuginfod.enable = true;
environment.shellInit = '' environment = {
gpg-connect-agent /bye enableDebugInfo = true;
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) shellInit = ''
umask 077 gpg-connect-agent /bye
''; export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
umask 077
'';
};
} }

View file

@ -23,6 +23,7 @@ lib.optionalAttrs (!minimal) {
"input" "input"
# TPM settings # TPM settings
"tss" "tss"
"wireshark"
]; ];
group = "patrick"; group = "patrick";
hashedPassword = config.secrets.secrets.global.users.patrick.passwordHash; hashedPassword = config.secrets.secrets.global.users.patrick.passwordHash;