nix-config/modules/dev/default.nix

25 lines
421 B
Nix
Raw Normal View History

{
2023-09-26 22:25:58 +02:00
lib,
minimal,
2023-10-03 15:54:55 +02:00
pkgs,
2023-09-26 22:25:58 +02:00
...
}:
lib.optionalAttrs (!minimal) {
imports = [
./docs.nix
];
2023-10-03 15:54:55 +02:00
programs.wireshark = {
enable = true;
package = pkgs.wireshark;
};
2023-11-21 10:58:02 +01:00
services.nixseparatedebuginfod.enable = true;
2023-10-03 15:54:55 +02:00
environment = {
enableDebugInfo = true;
shellInit = ''
gpg-connect-agent /bye
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
umask 077
'';
};
}