nix-config/modules/dev/default.nix
2023-10-05 00:41:46 +02:00

28 lines
456 B
Nix

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