nix-config/config/optional/dev.nix

32 lines
534 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) {
2024-02-05 21:16:50 +01:00
environment.systemPackages = with pkgs; [
gnumake
pciutils
gcc
usbutils
2024-04-11 23:11:53 +02:00
man-pages
man-pages-posix
2024-02-05 21:16:50 +01:00
];
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
'';
};
2024-04-11 23:11:53 +02:00
documentation = {
dev.enable = true;
man.enable = true;
info.enable = false;
};
}