feat: added wireshark
This commit is contained in:
parent
0520760c7e
commit
ce2e1cdd93
|
@ -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 = {
|
||||||
|
enableDebugInfo = true;
|
||||||
|
shellInit = ''
|
||||||
gpg-connect-agent /bye
|
gpg-connect-agent /bye
|
||||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||||
umask 077
|
umask 077
|
||||||
'';
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue