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,
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
'';
};
}

View file

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