feat: added wireshark
This commit is contained in:
parent
0520760c7e
commit
ce2e1cdd93
|
@ -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 = ''
|
||||
environment = {
|
||||
enableDebugInfo = true;
|
||||
shellInit = ''
|
||||
gpg-connect-agent /bye
|
||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||
umask 077
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -23,6 +23,7 @@ lib.optionalAttrs (!minimal) {
|
|||
"input"
|
||||
# TPM settings
|
||||
"tss"
|
||||
"wireshark"
|
||||
];
|
||||
group = "patrick";
|
||||
hashedPassword = config.secrets.secrets.global.users.patrick.passwordHash;
|
||||
|
|
Loading…
Reference in a new issue