nix-config/modules/dev/default.nix

32 lines
517 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
];
2024-02-05 21:16:50 +01:00
environment.systemPackages = with pkgs; [
gnumake
pciutils
gcc
usbutils
];
2023-10-03 15:54:55 +02:00
programs.wireshark = {
enable = true;
package = pkgs.wireshark;
};
2024-04-01 15:01:59 +02:00
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
'';
};
}